So I was trying to make a menu system on a new layout. I though I could make a global var that could store the previous layout name therefore let you hit a "back to game" button to let you go back to your previous layout from the menu...
Doesn't seem to work though.
When you press the button, does the content of your variable exactly match the name of the layout?
Navigating to a layout by name is a fairly popular option, and no glitches have been noticed with it.
Yes... I think it's something wrong with the syntax. Or I'm going to try not using LAYOUT next
Develop games in your browser. Powerful, performant & highly capable.
Take the quotes off "map"? I never know when I need the quotes or not.
Ok. "" on
go to to layout "var"
No quotes on global var
and that seems to work now. Just not going to the right spot, but at least it's working. Thanks all.