- Home /
Object in front of button
See the example attached. The white text animates in front of my buttons. This is perfect, accept that I cant click my buttons anymore when the text is in front. How do I prevent this from happening? How can you click trough a object in front of your button?
If the object is a collider then check off the istrigger option
Answer by InvincibleCat · Jan 14, 2015 at 07:56 PM
Add a Canvas Group to the text and set the Blocks Raycast Property to false
Cheers
Thanks but I don't see this check box. Does the canvas need to be a parent of the text?
Ah, I'm kinda new to unity. I didnt know what a canvas group was. Now I find out and it works! So thanks for answering my question!
You're welcome ;) (don't forget to mark the question as answered please)