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

Arguments

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

Returns

{bool}

Description

Check if the system cursor location is over this Shape while its specified input was pressed this frame. The location of this Shape can include the outer edge of its outline if specified. 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** ⚠️