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
numberkey: The logical game action code to check. For more information, see Logical Key Constants.
Returns boolean
True if the logical action became pressed this frame, false otherwise.