ofMousePressed
ofMousePressed listens for mouse-press events and outputs them as a list, either full (type, x, y, button, scrollX, scrollY) or simplified (x, y, button). The listener is enabled by default and can be toggled with setEnabled; its listening order defaults to 50 and can be changed with setOrder.
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, useofMousePressedor any other object fromofelia. - Available for .