Save the current screen on exit app

thank you so much. but after many takes i finaly got the virtual screens to work. so now i have to figure out how to get the player to the right verticalArrangement instead:)
would this also work for the verticalArrangements?

when i upload this aia it wont stay on screen1 but it keeps going to screen2.
goToLastScreen2.aia (15.0 KB)
how can i fix that?

Does this app open the last visited screen when you open the app again?

yes but you should be able to go to screen one, but i go rightback to screen2 everytime. i can not keep screen 1 open only 2 and 3 so there is a eror in the code, i just cant see what it is? can you help me?

You can, but you must close (kill the app, remove it from recent).
So try to remove the app from recent and try again.

Or use this extension: Remove app from recent apps

On all screens:

grafik