Conditionally run code depending on whether a Boolean
condition is true or false.
In the Block Editor, click on the dark blue gear icon (see above) to add an else or if to the current block.
Example: adjusting screen brightness
If the screen brightness
, this code sets the brightness to