I need some help with minesweeper

i am making a version of minesweeper for makecode arcade, and i can’t figure out how to make the cursor reveal only one sprite.
here is the current code:

You could make a random tile map generator with different tiles and set certain sprites to certain tiles using the place mysprite on array of tiles ___. And make this a function, then get the Arcade-tile-until extension. after the function add an if block with on A button pressed then use the Cover all ___ tiles with ___ block. I hope this helps and makes sense. If not let me know using @SOCKMONSTER12 in your next message. :wink: