If I switch layouts, do my instance variables get reset?
Develop games in your browser. Powerful, performant & highly capable.
By default, all instances are destroyed when the layout ends (e.g. when going to the next layout). If Global is Yes, none of the instances of this object type will be destroyed when switching layouts.
So it depends is the variables default, or set by runtime I guess. Creating a dummy project for testing would be your best bet.
Thanks so much