- Home /
uGUI: How to subscribe for Messages
Hello
I was checking uGUI API references and notice that nearly each uGUI object has Messages events
For example Image has many usefull Messages like: OnMouseDown, OnMouseDrag, OnMouseEnter, OnMouseExit, OnMouseOver, OnMouseUp and so on...
Could please tell me how can i subscribe for those messages?
Answer by Briksins · Apr 05, 2015 at 04:40 PM
So many view and no answer :(
As far as see documentation go absolutely separately from reality, according to all tutorials I seen so far, such functionality achieved trough adding Event Trigger component and adding manual trigger for each of the case:
PointerDown
PointerUp
PointerEnter
PointerExit
PointerDrag
I didnt find a way to subscribe for those messages natively without Event Trigger.
I'm just looking for confirmation, is it truly Documentation wrong and describe functionality which doesnt exists? or that's me still doing something wrong?
Your answer
![](https://koobas.hobune.stream/wayback/20220613192118im_/https://answers.unity.com/themes/thub/images/avi.jpg)