I want the mouse cursor to change whenever over any object. Here is the code I have, which lives in Global Script in rep_exec:
Code: ags
Needless to say, it's currently not working.
Thanks.
Object*o = null;
o = Object.GetAtScreenXY(mouse.x, mouse.y);
if (o != null)
{
Mouse.UseModeGraphic(2);
}
Needless to say, it's currently not working.
Thanks.