i‌f: string

'if' conditional. This is not really a separate variable, but can optionally be added to any event. This allows conditional execution of the event based on a javascript syntax expression.

Example

// all even loops 
"if": "loopCount % 2 == 0"

// all odd loops
"if": "loopCount % 2 == 1"

// every 10th loop until 10 loops have finished
"if": "loopCount % 10 == 0 && loopCount < 10"

// only when playing, (ie. not dragging the time slider)
"if": "isPlaying"