I have lost of things in layout and somewhere I want to restart my layout but I don't know how this restart layout action work. It restarting layout in its current situation, There were some objects out of layout and during gameplay they are inside layout and lots of things. After restarting layout everything is still there current position. How can I actually restart layout where all objects reset to their starting position.
When you restart layout, if used alone, what happens all non-global sprites, reset in that layout as you designed them in the visual editor.
However, if your objects have positions saved in dictionary, or by global variables, you have to reset those also.
Like this:
Reset global variables,
Dicitonary clear xYz
Array empty
wait 0
Restart layout.
hope it makes sense, and maybe helps?