Vector2.setCursor() - Mtax-Development/GML-OOP GitHub Wiki
Name |
Type |
Optional |
device? |
{int} |
Yes |
GUI? |
{bool} |
Yes |
Not applicable.
Set all of the values to the ones of the system cursor. A target device can be specified for cases where multiple cursor inputs are used, and if it is specified, the position can then be translated to the GUI layer to depend on its size.