Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Emerald on Wed 05/03/2008 13:56:56

Title: GetCursorXYPos
Post by: Emerald on Wed 05/03/2008 13:56:56
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...
Title: Re: GetCursorXYPos
Post by: DoorKnobHandle on Wed 05/03/2008 14:02:34
Mouse.X/Y (or try mouse.x/y, depending on the version of AGS you're using).
Title: Re: GetCursorXYPos
Post by: Emerald on Wed 05/03/2008 15:29:48
Ah, beautiful, can't believe I missed that.