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.
Actions#
comment#
By clicking into a Comment block, you can edit the text inside. Pressing Enter or return on the keyboard or clicking off 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 screen is pressed, set all LEDs color to green#
when started :: hat events
[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