Point.cursorPressed() - Mtax-Development/GML-OOP GitHub Wiki
Name |
Type |
Optional |
button |
No |
|
device? |
{int} |
Yes |
GUI? |
{bool} |
Yes |
{bool}
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.