Show question

Explanation
This function will make a message box appear, but this message box will have 2 choices, yes and no, just like the corresponding drag & drop action. You must store this in a variable, otherwise your yes/no info will be discarded from the game.

Example
//exit game code //escape press event var quit = show_question("do you want to exit") (quit) {  0:   //do nothing, simply return to the game ;  1:   ;  ; } // note that for this to work you must in the global game settings menu, // disable "let escape end the game"

A simpler way to achieve the same is if (show_question("do you want to exit")) game_end;