Skip to content

HoldDurationOptions

Defined in: types.ts:62

Options for the hold-duration queries: getHoldDuration, isHeldFor, isJustHeldFor, getReleaseDuration, isJustTapped, and isJustReleasedAfter.

optional clock?: 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.