Skip to content

function isLogicalKeyToggled (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 isLogicalKeyToggled(number key)

Parameters

  • number key: The logical game action code to check. For more information, see [Logical Key

Returns boolean

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