Skip to content

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

Returns bool

true when the game key action was toggled, otherwise false.