Triangle.cursorPressed() - Mtax-Development/GML-OOP GitHub Wiki Arguments Name Type Optional button {constant:mb_*} No device? {int} Yes GUI? {bool} Yes Returns {bool} Description Check if the system cursor is over this Shape while its specified mouse button was pressed in this frame. If the device is specified, the position of the cursor on the GUI layer can be used. ⚠️ **GitHub.com Fallback** ⚠️