Exit the application

Hi all, how to create a script in MIT APP Inventor to exit the application. Thanks

No script needed, there is a block for that:

You can use the choose blocks from the notifier component, to request confirmation if you want to avoid users simply quitting your app.

Okeyyy thanks brother, I can try