I have my Layouts inside of different folders like Game1, Game2, etc. I would like to know if its possible to access its Parent folder's name using some kind of expression or even through Javascript.
Any help is appreciated.
No, folders are used only in development. When you preview or export the game, the whole file structure is flattened and folders are removed.
Develop games in your browser. Powerful, performant & highly capable.
Ah ok. Are the layouts in the same order when the game is exported? Or is the order randomized? Because I am using Go to next layout event and it relies on a particular layout to be next otherwise the game gets messed up.
Yes, I'm quite sure the order is the same after export.