GetCursorXYPos

Started by Emerald, Wed 05/03/2008 13:56:56

Previous topic - Next topic

Emerald

Is there such thing as this? I feel like it should be obvious, but I just can't seem to find anything like this. I want to use the cursor to scroll the screen and/or have the protagonist look/aim at it, which would probably be fairly easy except for the fact that there doesn't seem to be a way to get the xy coordinates...

DoorKnobHandle

Mouse.X/Y (or try mouse.x/y, depending on the version of AGS you're using).

Emerald

Ah, beautiful, can't believe I missed that.

SMF spam blocked by CleanTalk