MoveData:WasKeyPressed(MoveData, number)

shared
Checks if a key was pressed, where before it wasn't.

Arguments

Returns

  • boolean True if the key was pressed, false otherwise

Examples

MoveData:WasKeyPressed – Checks if a key was pressed, where before it wasn't.