Instance variables store values for each instance. If you have 100 enemies, each enemy instance can have its own 'health' value for example.
When you switch layouts, new instances of all objects on the new layout are created, with default values in instance variables.
You can set an object as Global, and then it will be transferred to another layout with all its properties.