ofBackPressed
ofBackPressed detects presses of the Android back button and outputs a bang when one occurs. Its listener can be enabled or disabled with setEnabled (default: enabled), and its listening order can be changed with setOrder or a creation argument (default: 50).
AI Generated
This content was generated with the assistance of AI. If you notice any errors, please report them or submit a fix using Submit. Check the prompt used here.
- Download via Deken.
Open
Pdand go toToolsFind Externals. Search forofeliaand install it. Then create an object withdeclare -lib ofelia -path ofelia. Finally, useofBackPressedor any other object fromofelia. - Available for .