Blocks Deprecated
Deprecated: use the web blocks for new pages This block belongs to state pages and UI components. Existing pages keep running, but new pages should use the web blocks. See Web Pages and the migration guide.

if

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

if v10.4.28

Use classes based of a given condition.

In pins 3
  • true uiclass required
  • false uiclass required
  • boolean condition required
Out pins 1
  • uiclass uiclass

A typical wiring for if: the uiclass out pin feeds regular card.

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

Version history

Introduced in v10.4.28.


Back to ui class Return to the main group to view all sub-groups Back to class Return to the group to view all blocks within this group