Inputs.WasKeyPressed(enumeration/BUTTON)

client
Check if a specific key was pressed.

Argument

Returns

  • boolean Whether the key was pressed.

Examples

Inputs.WasKeyPressed – Check if a specific key was pressed.