function logicalKeyPressed (client-side)
Available since version: 0.3.0
This function will check whether the specified Gothic logical game action is pressed.
Declaration
boolean logicalKeyPressed(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 is currently active, false otherwise.