Point.cursorPressed() - Mtax-Development/GML-OOP GitHub Wiki

Arguments

Name
Type
Optional
button
No
device?
{int}
Yes
GUI?
Yes

Returns

{bool}

Description

Check if the system cursor location is over this Shape while its specified input was pressed this frame. A target device can be specified for use with multiple cursor input sources. In that case, its position can also be specified to be calculated according to current GUI layer size.

⚠️ **GitHub.com Fallback** ⚠️