creat a " replay " botton

is there anyone know how to creat a " replay " botton :confused: :confused: :confused:

In case the only thing you want to do is restart the current scene when the β€œReplay” button is pressed, it pretty simple.

For the button, you can use a simple sprite object and do the following:
replay_event.png
To be able to use the same event on any scenes, you could store the actual scene name inside a variable that you set at the beginning of each scene, and use that variable as scene name.


This way, you can use the event as an external event and simply link the event on each scene.

oh , it’s highly useful
thank you very much :unamused: :unamused: :unamused: !!!