Restart Button | Sololearn: Learn to code for FREE!


Restart Button

How do you make a Restart Button so when you die you just have too click it and it restarts and puts you back in the beginning! THANK YOU :)

12/25/2017 12:53:25 AM


2 Answers

New Answer


in a case like this I would write an initialization function to set everything up. the restart button would refer to this function which would cause the defaults to be used again.


Okay I’ll try it out and tell you what happened Thank You!