Conditional Branching

Shape Scripts provide condition branching with the if else statement, and query methods that evaluate to either True or False.

Learn more

Syntax Grammar for IF statement syntax
Query Methods for methods that can be used as the conditional expression for IF statements
Example Scripts for an example