- Home /
Detecting a GUI element under the mouse?
Hi people, I'm having trouble with some scripts. I'm using iGUI (It's just some information about my project), and Panels don't have a CLICK Event. They have MouseOver, MouseOut, etc. But not Click.
So, I figured why not to ask if there's an element under the mouse at the time of clicking it, and if it's a Panel, has a Tag, or something, fire an action.
The thing is, I don't know how to check for a 2D element under the mouse.
Is it posible?
Thanks!
Comment
Your answer
Follow this Question
Related Questions
Object Movement via Mouse Click? 3 Answers
Clickable GUI.Window 1 Answer
Using RayCast to Get Mouse Input 1 Answer
Detect if object clicked on 2 Answers