Workshop.codes
Create

Is Button Held Last updated April 14, 2026

Description

Returns True if a player is currently holding a specified input button at the moment of evaluation. Differs from Is Button Pressed in that it reflects a sustained hold state rather than the initial press frame. Useful for charge mechanics or hold-to-activate triggers.

Snippet

Is Button Held(Event Player, Button(Crouch));

Properties

Returns: Boolean
Parameters: Player, Button

Player
Type: Player, Default: Event Player
The player whose input state will be evaluated.

Button
Type: Button, Default: Primary Fire
The button to check for a sustained hold.

Workshop.codes