How do I make a restart button?

how do I make a restart button? When the game ends, my screen changes to lose. How to make it so that when I change the screen to lose, I can click on the “one more time” button and all the sprites from the 1st screen would return to their original location

1 Like

This post is very similar. Are you using 2 names in the forum?

Hello, is this prohibited?
If you know how to solve this problem, I will be very grateful.

1 Like

Having multiple accounts is not prohibited. Spamming the forum with the same question multiple times is not ethical.

Your question is not clear. If you are asking to play the game again then the button should take you the the screen that initialize the variables and sprites.

How to restart sprites? If I use the stop all sprites command?
here is the link to the project, please protest! Get what I mean.

I’m sorry I didn’t know it was not ethical.

1 Like

I looked at your project.

You need to use in the Screen Opens, set the speed of the sprite. Like this

Once you do this change the restart button will work.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.