Buttons not working

I have tried to code my buttons to make the rocket move when I press the buttons but this function is not working. Here is my project file link.

Brother your project link is not responding, please check and share it again if possible, to get your problems solved.

Hi, I have just generated another link. Hopefully this one works.

Your canvas has a sprite called Sprite1 on the screen but you’ve coded everything for a sprite called Rocket which isn’t currently on the screen.

Try this:

1 Like

Thank you . That worked.