Restart

Is there pretty much any way to completely restart/quit the app [import]uid: 39533 topic_id: 10924 reply_id: 310924[/import]

[lua]os.exit() ā€“ exit app[/lua] [import]uid: 33866 topic_id: 10924 reply_id: 39748[/import]

cl-apps is right RE exiting, if you want to restart and you are using Director I believe you should be able to do a scene change to main.lua and have that work.

Peach :slight_smile: [import]uid: 52491 topic_id: 10924 reply_id: 39756[/import]

I have one more question, sorry. Is there a way to wait like5 seconds after an alert?
[import]uid: 39533 topic_id: 10924 reply_id: 39803[/import]

You can use a timer: timer.performWithDelay(5000, myfunction)

Sorry if there is an error, Iā€™m on the iPhone

ā€“ Chris [import]uid: 33866 topic_id: 10924 reply_id: 39808[/import]