Browsing StarfallEx's section
โ† Back to ACE
Back to StarfallEx

SFEX.Player:keyPressed

S๐Ÿท๏ธ Player

Part of StarfallEx namespace

๐Ÿ”— External
Player:keyPressed(key)
View on GitHub|lua/starfall/libs_sh/players.lua:501
๐Ÿ“‹ Has LDoc๐Ÿ‘๏ธ 0 viewsUpdated 2 months ago

Description

Gets whether a key was just pressed this tick.

Parameters

NameTypeDescription
keynumberKey to check. See IN_KEY table values.

Returns

TypeDescription
booleanWas their key pressed.

Examples

No examples available.

Used In

No usages found in the codebase.