Skip to content

function isLogicalKeyPressed (client-side)

Available since version: 0.3.0

This function will check whether the specified Gothic logical game action is pressed.

Declaration

boolean isLogicalKeyPressed(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 is currently active, false otherwise.