StateTick Docs Home →
Conditions

The Variable Picker

Double-clicking an empty term box opens the Variable Picker — a tree of everything a term can be. It is the single place you choose equipment signals, globals, and the placeholder functions.

Where it comes from

In the condition editor, double-click the empty term box (highlighted below, just left of the red delete). The Variable Picker opens over the editor:

The full StateTick Studio window: the Conditions page with a term box highlighted, and the Variable Picker dialog open over it showing all categories
Double-clicking the empty term box opens the Variable Picker (shown in the full Studio window).
The Variable Picker dialog listing categories: Equipment, Global, Edge Detection (Bool), Value Change (Int/Double), Array Operations, Composite State, Timer, Queue
Every category the picker offers, in one place.

The categories

CategoryWhat it inserts
EquipmentAn interface signal of an equipment, e.g. Motor.IMotor.Running (drill in Equipment → Interface → Variable).
GlobalA project global variable, e.g. Global.Temperature.
Edge Detection (Bool)Rising Edge R_TRIG and Falling Edge F_TRIG on a Bool signal.
Value Change (Int/Double)RISE, FALL, CHANGE on a numeric signal.
Array OperationsALL, ANY, NONE over an array compared to a value.
Composite StateIN_STATE — is a composite in a given state.
TimerA timer's Done flag.
QueueQUEUE_EMPTY, QUEUE_FULL, QUEUE_OK, QUEUE_OVERFLOW.

Equipment & globals side by side

Expanded, the picker shows each equipment's signals with their types, and every global. Bool signals are stand-alone terms; numeric signals (Double/Int) become comparisons.

Picker tree with Motor.IMotor signals (Coil, Overload, Running as Bool; Speed as Double) and Global variables (MachineRunning, OverTemp, PartCount, RunRequest, Temperature)
Equipment interface signals and global variables, each with its type.

Placeholder functions

The Edge Detection and Value Change categories insert placeholder terms — a rising edge, a falling edge, a value change — whose concrete signal is chosen when you use the condition in a composite. More on these in Placeholders.

Picker showing Edge Detection with Rising Edge (R_TRIG) and Falling Edge (F_TRIG), and Value Change with On Value Rise (RISE) and On Value Fall (FALL)
Rising/falling edges and value-change placeholders, selectable like any other term.

Pick a leaf, confirm the Path at the bottom, and click Add — the term drops into the IF expression.