• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

How can I get the position of the cursor?

Status
Not open for further replies.
Level 6
Joined
Apr 23, 2009
Messages
94
I'm making a game mechanic that allows you to "Pick Up" units, but I need the unit to follow the cursor once picked up.
I can figure out everything else, just not how to get the current postion of the cursor.
Is this possible?
 
Level 6
Joined
Apr 23, 2009
Messages
94
Please elaborate, how do you get the position of the cursor once you click?
Do you mean like, target point of spell? Ping? This sort of thing?
Or do you know how to find the location without using these?

EDIT: Looked under events. Gotcha.
I'm looking at an action that finds the cursor, but thanks, you helped.
 
Status
Not open for further replies.
Top