• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your 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