DgsGetInputEnabled: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
m (little correction)
m (DGS OOP Syntax changing (little correction pt.1))
Line 8: Line 8:
</syntaxhighlight>
</syntaxhighlight>
{{DGS/OOP|
{{DGS/OOP|
     Method = getInputEnabled|
     Method = '''dgsRootInstance''':getInputEnabled|
     Counterpart = dgsSetInputEnabled
     Counterpart = dgsSetInputEnabled
}}
}}

Revision as of 21:40, 3 May 2021

This function is a replica of guiSetInputEnabled. In order to satisfy the needs of developers, the function exists here.

Syntax

bool dgsGetInputEnabled ( bool enabled )

DGS OOP Syntax Help! I don't understand this!

Method: dgsRootInstance:getInputEnabled(...)
Counterpart: dgsSetInputEnabled

Returns

Returns true if input is focused on GUI, false if it's focused on the game.

See Also

General Functions

General Events