• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

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