MakeCode Games!

A fan-made community library of MakeCode Arcade games. Visit MakeCode Arcade to make a game!

← Back to extensions

Sprite Utils

A grab-bag of sprite math and rendering helpers for MakeCode Arcade: distances, angles, movement, timers, and simple drawing.

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

console overlay $on block

Parameters

NameTypeDefaultMeaning
onbooleanWhether 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.