I have two layouts, main and shop.
When player enters the shop from the main layout, and then again exits the shop, the position of the player resets to the beginning of the main layout.
I tried to set the position in the event sheet of the shop like this:
button-->on clicked-->player sprite-->set position to (4000,1000);
system-->go to main layout;
That didn't work; the location of the player still resets to the beginning of the level.
How could I make the player appear outside the shop door when he exists?