Skip to content

Interaction reference

Generated from the shared interaction spec. See the interaction guide for examples and input behaviour. A document supports up to 8 modules, each with up to 64 bindings.

Activation: hover (hover), focus (focus), both (hover or focus). Default: both.

Follow (follow)

Light follows the pointer, then eases back to rest.

FieldLabelDefaultRangeStepMeaning
strengthStrength10 to 20.01Response strength.
smoothingSmoothing0.650 to 10.01Follow easing; 0 responds immediately.
decaySettle time10.05 to 50.01Seconds for an impulse or return to settle.

Impulse (impulse)

A tap emits a pulse that fades away.

FieldLabelDefaultRangeStepMeaning
strengthStrength10 to 20.01Response strength.
decaySettle time10.05 to 50.01Seconds for an impulse or return to settle.

Grab & Release (grab)

Pull the scene, then release it into a spring.

FieldLabelDefaultRangeStepMeaning
strengthStrength10 to 20.01Response strength.
decaySettle time10.05 to 50.01Seconds for an impulse or return to settle.
dampingDamping0.750 to 10.01Grab spring damping; higher settles faster.

Bindings

Inputs: x (horizontal), y (vertical), strength (strength), travel (elapsed time). Only Impulse emits travel or uses pulse slots beyond zero. Signal bindings omit layer.

FieldLabelDefaultRangeStepMeaning
amountAmount1-4 to 40.01Add this much to the authored control at full input; negative values repel.
slotPulse slot00 to 31Impulse slot, from newest (0) to oldest (3).