← Reference

Power-ups: cheat sheet

Arcade advanced skills · Find each block in the MakeCode toolbox (the category is at the end of each line).

follow

The engine steers one sprite towards another at a speed. Sprites.

enemy.follow(mySprite, 40)
The block

count down

Check there is some left first, then use one up, so the count never goes below zero.

if (ammo > 0) {
    blocks
    ammo += -1
}
The block

true or false

A variable can hold true or false, to remember what is happening now. Logic.

let shield = false
The block