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 LEDs green while the screen is pressed]
    forever
        if <screen pressed?> then
            set [lightall v] LED color to [green v]
        else
            set [lightall v] LED color to [off v]
        end
    end