Player:WasKeyDown(Player, number)

shared
Get if the specified key was down one tick before the current.

Arguments

Returns

  • boolean Whether the key was down.

Examples

Player:WasKeyDown – Get if the specified key was down one tick before the current.