I coded it to make it teleport the ghost and add score if you click it. The game goes on forever.
Game
visibility, simple messaging, delays, simple loops, simple events, simple sound playing, simple costume handling,