PressRepeatOptions
Defined in: types.ts:85
Options for InputManager.isJustPressed.
clock selects the clock the repeat schedule is counted on: the
SceneTime of a scene on the stack. The initial press edge always resolves
against the caller’s frame or fixed-step window. Omitted, repeats count on
the raw input clock, so a menu keeps repeating while the scene under it is
paused.
Extends
Section titled “Extends”Properties
Section titled “Properties”clock?
Section titled “clock?”
optionalclock?:InputClock
Defined in: types.ts:68
Clock the duration is measured on — the SceneTime of a scene on the
stack. Any other clock throws. Omit for the raw input clock
(getClockTime()), which ignores pause and time scale.
Inherited from
Section titled “Inherited from”repeat?
Section titled “repeat?”
optionalrepeat?:boolean
Defined in: types.ts:87
Whether a held action produces repeat edges. Default false.
repeatDelay?
Section titled “repeatDelay?”
optionalrepeatDelay?:number
Defined in: types.ts:89
Seconds held before the first repeat. Default 0.35.
repeatInterval?
Section titled “repeatInterval?”
optionalrepeatInterval?:number
Defined in: types.ts:91
Seconds between repeats after the first. Default 0.1.
Coding agents: fetch https://yage.dev/llms.txt first and prefer the Markdown references it links over these HTML pages. This page's Markdown counterpart is /llms/packages/input.md.