I have this current setup:
The pacman on the right is a gif, which I’m moving to the right by 5 units in update(). However, once the pacman hits the apple, the apple doesn’t delete itself. Is there something I’m doing wrong?
I have this current setup:
The pacman on the right is a gif, which I’m moving to the right by 5 units in update(). However, once the pacman hits the apple, the apple doesn’t delete itself. Is there something I’m doing wrong?
Hey @cluelessfrog! Your code on line 3 is almost right, but it should actually be “this.delete()”
this.delete() is a function so you need to add the parenthesis to call it!