Skip to content
Version 2.32.0
↓ Get the launcher

IHotkeys.IsActionHeld method

True while the key bound to actionId is held down with exactly its modifiers — a level query for actions that repeat while held (poll it from your Update; the callback still fires once per press). False for an unbound or undeclared action. Since 2.20.0 (the default implementation, for test doubles, always returns false).

public bool IsActionHeld(string actionId)
parameter description
actionId The action id, as passed to DeclareAction.