Restart Button | Sololearn: Learn to code for FREE!

0

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

AClue

2 Answers

New Answer

+5

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.

+1

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