Hi!
I have a Widget Blueprint with a button, a border and a text block. When I make the border hidden, the text block also disappears. I 'm using the border to show an image when the mouse cursor is over the button.
This is the button with the border and the text block.
How can I do it?
Thank you
3dRaven
(3dRaven)
May 14, 2025, 9:51am
2
Make the text a child of the button and not the border.
It’s nested in it’s hierarchy so it will be hidden with it.
How?
If I try to make the button to have two children, I get the above message.
And I can’t make the border children of the Text Block because I get the message: Widget can’t have children.
Thank you.
3dRaven
(3dRaven)
May 14, 2025, 9:55am
4
You can use an overlay if it does not except any more children
Though you should be able to have text and a border under a button. I’m not in unreal atm but I’ll try later on in the day.
1 Like
Nerwy
(Nerwy)
May 14, 2025, 10:09am
5
Buttons only accept a single child, you can’t have multiple children aside from placing them inside an overlay like you suggested
1 Like