Help with switching images

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Help with switching images

I am trying to make a tag game and was wondering if there was a way to make 1 little square "it" while the other was not it. I am using two different colored images. I was wondering if there was a way to keep track of which image was "it".

I tried using an if then saying

 if player 1 coordinates == to player2 coordinatess then ________

but I don't know how to approach it because I am new to coding.

Everything I have tried hasn't worked and would appreciate help.