function
isLogicalKeyPressed (client-side)
Available since version: 0.2
The function is used to check whether the specified game action key was toggled from unpressed to pressed state.
Declaration
bool isLogicalKeyPressed(int logicalKeyId)
Parameters
int
logicalKeyId: the id of the logical key. For more information see Logical key constants.
Returns bool
true
when the game key action was toggled, otherwise false
.