How to recognize UMG button hovered state, having a text or a image over it?
I want to make a level selection screen as shown in the image, for this I have placed 10 buttons wrapped with 'uniform grid'. I am placing a text field over the buttons to display level number, further i even want to display stars of each level.
My problem is, if I place a image or a text field over the button, button won't recognize weather it is hovered by mouse cursor and even a mouse press.
How to achieve this ?
asked Jun 01 '15 at 09:53 AM in Blueprint Scripting
Change visibility of thing you don't want to effect by mouse over to Hit Test Invisible, like text or image or what ever is on top of the button.
answered Jun 01 '15 at 10:10 AM
I can get the image to collect mouse click.
answered Jun 02 '15 at 05:25 AM
Thanks Narghile, I got this done by having button image as image, then added a text field over the image and then added transparent button over the both. Now I change button image as per transparent button state (isHovered or isPressed).
answered Jun 02 '15 at 07:32 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here