• 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 faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

(Solved) Detecting if Trigger Mouse Position is Hovering over UI

Status
Not open for further replies.
Level 11
Joined
Feb 23, 2009
Messages
577
Howdy all,

I am currently in the middle of making a new ARPG system (that includes a movement system, a new melee attack system and a missile system, fow now).

Everything is working perfectly so far except for 1 thing: when the mouse is hovering over the UI (instead of an actual point of the map) it makes my systems work weird (the Trigger Mouse Position always returns the center of playable map area)... What I would like is to be able to detect if the Trigger Mouse Position is actually hovering over the UI or map, so that I can disable my systems when it's over the UI. Right now, if I try to use Region Contains Point [Trigger Mouse Position] it doesn't work (it thinks the UI is part of the map >.<), and I don't see any other alternatives.

I really hope someone can help, thanks guys!


PS: Is it possible to remove the bottom part of the UI entirely, including the mini map?
 
Last edited:
Status
Not open for further replies.
Top