elseif

This block is part of the object group and was last modified in core v10.4.28.

elseif v10.4.28

In pins 3
  • default object required
  • else if condition required
  • then object required
Out pins 1
  • object object

Data selector: outputs the then input paired with the FIRST elseif condition (in pin order) that resolves exactly boolean true; when none is true, outputs the default input. A nil winning input becomes {}. Only the winning input's pure-data producer chain is evaluated.

A typical wiring for elseif: the object out pin feeds custom field.

Studio canvas example for the elseif block: typical wiring for elseif.

Version history

Introduced in v10.4.28.


Back to object Return to the main group to view all sub-groups Back to object: conditions Return to the group to view all blocks within this group