I tried to do this, but it did not work. The object "item1icon" just changes his position to where I click.
You need to toggle a variable to track the state. Give your sprite a boolean.
(I'm cross-referencing this with your other post).
Develop games in your browser. Powerful, performant & highly capable.
Thanks again man... I dont understand what you did but it worked. (Learning time yeah!)