How do you call that and how to trigger a function when it is pressed!

Hi !
I need your help guys, here on the png is the button im talking about :

a8e9e9adf160eb840e46e148a840bfe8-full.pn
 tweakbox
I’d like to go back to my mainMenu when this button is tutuapppressed but I don’t know what is his name, and I don’t know how to trigger something when it is pressed

 

 

Researching for that is a bit tricky when you dont  appvalleyknow the name :s

Thanks for your time  :slight_smile:

Well, you’d probably use Composer to move between scenes (https://docs.coronalabs.com/guide/system/composer/index.html) and then you’d use a button event to trigger it (https://docs.coronalabs.com/api/library/widget/newButton.html#default).