console overlay
Problem it solves
You're using console.log to debug your game, but the console output isn't visible on the game screen itself.
What this block does
Turns the on-screen console overlay on or off.
The block
Block ID: spriteutilextsetconsolevisible
Parameters
| Name | Type | Default | Meaning |
|---|---|---|---|
| on | boolean | — | Whether the overlay should be visible |
Example
spriteutils.setConsoleOverlay(true)
console.log("hello!")Add the extension
Add github:jwunderl/arcade-sprite-util to your project, or open: Import arcade-sprite-util.