Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Drive rules

Pack-root drive: predicate → rule. Runtime auto-drivers: typing, focus, choice_open (not saved).

"drive": {
  "focus": { "use": "happy", "priority": 10, "scale": 1.05 },
  "typing": { "modulate": "#ffffff", "priority": 5 }
}

Usually you need

FieldEffect
useSwitch to another expression while the predicate holds
modulate / scaleTint / size while active

All rule fields

FieldTypeEffect
useexpression idSwitch variant
modulatehex colorTint
scalenumber or [sx,sy]Scale
offsetnumber or [dx,dy]Offset
rotation_degreesnumberRotate
prioritynumberHigher wins when several match
transition / _in / _outobjectTween (duration, ease, curve, optional kind)

Matching rules: modulate/scale multiply; offset/rotation sum.

Layer drive strings only gate visibility — Expressions and layers. Distinct from flag Binds. Characters.