Create quit button?

I have been searching for hours, but there was nothing useful on how to create a quit button. I need this to test out my fullscreen game, because on the platform I am using, MacOS, there would be no way to close it (except restarting the computer.)
Please help.

Cmd +Q

You can always use a keyboard listener.

And just quit the app.

Thank you!!
I only actually needed the quit button to exit since i’m in fullscreen, but yes Cmd + Q works!

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.