Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics


A tiny game editor you can use on your phone or in your browser · By sg

Clearing sprites from co-ordinates.

A topic by Catbox created May 21, 2020 Views: 127 Replies: 3
Viewing posts 1 to 2

Is there a way to specify which co-ordinates {remove-sprite} removes from?

For example, I want to reset a puzzle whenever you leave or enter a room. I can use the enter dialog to place a series of obstacles, but I can't use the exit dialog to remove sprites from places I don't want them to be, as remove sprite seems to be tied to sprite push scripts.

Has anyone found a way to do this?


I just added a slightly experimental {pick} script to the github version of môsi ( So you can do something like this:

{pick {sprite-at x y}}

More info on the wiki:

Hi sg! That's amazing thank you!

I really confused myself working today when I saw it on the wiki and tried to code with it for two hours on a version of Mosi that doesn't have that code yet. :P


I'll update it on once I fix a few more things!