This is probably pretty nooby, but whenever Im ingame and I click my "shop" button, which just switches to my shop layout, and click back to game, it resets my ingame layout, like my players position is reset. Is there an option or setting that will remember a layout how I left it? (Leaving as in layout switching)
Look into either the persistent object behavior or global layouts (depending on what you need). It's hard to tell without a capx.
Develop games in your browser. Powerful, performant & highly capable.
Sounds like you want the Persist behavior.
If you have an object at X-300, Y-600 and move it to X-500, Y-900, when you leave the layout and come back, it will be still be at that 2nd position, X-500, Y-900.