• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

hovering over with a mouse detection

Status
Not open for further replies.
Level 9
Joined
Dec 31, 2016
Messages
320
Hi there, how can I detect whether a player hovers over something with a mouse? Or click on something?
For example when the players hovers over the minimap or some buttons or a unit.

I assume you can do it only in jass, right? :D
 
My resource Necrotic beam uses mypad's mouse utility which easily tracks the players mouse movements, as seen in my resource the custom code is like this
upload_2021-1-7_14-5-37.png


With this you can simply add in a trigger that checks distance between the players mouse and the target object.
 
Status
Not open for further replies.
Back
Top