[Posts in the debugging category need to have the following pieces of information included in order to help other teachers or our moderator team best help you. Feel free to delete everything in brackets before posting your request for debugging help.]
Welcome to the forum. I took a look at your project and I think I can help steer you in the right direction.
You used the following code in your project:
if (mouseDown("leftButton") == 5)
Since a conditional statement is by definition a boolean expression (either on or off), it can only equal 1 (on) or 0 (off). So when the mouse button is clicked, it equals 1 and when it isn’t clicked, it equals 0. It can’t equal 5.
What you probably want to do is to create a variable called “clicks” and then each time the mouse button is clicked, that variable could go up by 1. Then, you could check the value of that variable to see if it’s 5 (which would trigger the sprite change).
I hope this helps, but if you still have questions, don’t hesitate to reply and we can continue to help steer you in the right direction.