A space to write a description of your code.
Comments are used to describe how your code works so it is easier for humans to understand. It is also a good idea to comment any complex blocks of code so you, or another programmer, can more easily understand the code in the future.
Comments can describe what happens when the code is run or an event happens.
Comments can help you track variables and change sprite properties.
Name | Description |
---|---|
text | Click inside the block to type any text |
Found a bug in the documentation? Let us know at documentation@code.org