Comments#
Introduction#
Comments are used to add explanations or notes within the project. They do not affect how the project runs and are useful for clarifying logic or documenting functionality.
comment#
By clicking into a Comment stack block, you can edit the text inside. Pressing Enter or return on the keyboard or clicking out of the Comment block will save the text typed inside.
The default Comment stack block.#
[comment]
Parameters |
Description |
|---|---|
This block has no parameters. |
Example
when started, if the Touch LED is pressed, set the Touch LED color to green#
when started
[Turn TouchLED green while it is pressed.]
forever
if <[TouchLED1 v] pressed?> then
set [TouchLED1 v] color to [green v]
else
set [TouchLED1 v] color to [none v]
end
end