API reference

Every public class, method, and event in @codexo/exojs. Generated from source.

I

interfaceSequenceActionOptions

@codexo/exojs / input / stable

Options for SequenceAction - the options every action shares, plus pattern timing and restart behavior.

4
props
0
methods
0
events
Import
import { SequenceActionOptions } from '@codexo/exojs'

Options for SequenceAction - the options every action shares, plus pattern timing and restart behavior.

Properties4
maxGap?: number
Maximum source-event gap between completed steps, in milliseconds. Checked against ChannelEventBatch.timestamp for arriving events and against ActionSample.timestamp once per frame, so it also elapses while no input arrives at all. Default 600.
resetOnMismatch?: boolean
Reset when an unrelated tracked channel enters. Default true.
threshold?: number
Magnitude a channel's value must exceed to count as active - see the concrete action kind's own active/pressed/triggered semantics (for example ButtonAction.active). Defaults to 0. Distinct from a gamepad's device-level deadzone, which is applied before the value ever reaches the channel buffer.
timeout?: number
Maximum source-event duration from first to final step, in milliseconds. Default 3000.
Source