Adds the text you specify to your logs, which can be viewed in the Log Viewer. Use this block to verify values and debug your game when you encounter bugs. Accepts anything but will convert to text before printing.
trace([ANYTHING]);
Comments let you mark up your behaviors. They are like sticky notes. They have no effect on a behavior.
/* [ANYTHING] */
This variant of comments wraps around a stack of blocks. It has no effect on the enclosed blocks (in other words, the code inside still runs).
/* [ANYTHING] */
[ACTIONS]
Outlines collision boxes, tiles, regions and terrain regions for debug purposes. Useful for testing physics/collisions. Can also be activated from the menu (prior to testing) via Run > Enable Debug Drawing.
enableDebugDrawing();
disableDebugDrawing();