button text blocking button

hi. iv followed a tutorial and can make the buttons appear with text and work but if the mouse is over the text on the button i cannot click the button however if i move the cursor so it is over the button but not the text it works. if i set the text to hit test invisible the text doesnt seem to interfere but i have to click on the button or text twice, once seems to highlight it and a second click activates the button. i dont want the text to interfere with the button and i dont want to have to click the button twice. any ideas what im doing wrong?

1 Like

Try making the text label a child of the button instead of a separate widget on top of it.

that got it thanks!