Skip to content

function logicalKeyToggled (client-side)

Available since version: 0.3.0

This function will check whether the specified Gothic logical game action was toggled from unpressed to pressed state.

Declaration

boolean logicalKeyToggled(number key)

Parameters

Returns boolean

True if the logical action became pressed this frame, false otherwise.