English

9. Treasure hunt

We would like the treasure to disappear when the hero reaches it. There is a demo script for the treasure (in this example treasure is a fish). Make a script for the treasure in your own game, play the game and.. does the treasure disappear? If not, can you find the mistake without looking at the answer?