One is the main ui. Another is the content I want to add to the scroll box of main ui.
Like the above picture, when I click the ADD button, the Text content will add to the main ui’s scroll box.
After I add to the main’s scroll box, I want to when hover the TEXT it will appear two button. But I set a condition, if there are greater than two children, it just appear.
The logic when the child bigger than one, it will appear two button(Canva panel 73).
The blueprint in Scrollbox widget. (which is the content I want to add to the scroll box of main ui.)
so whats you want is if child number in scroll box greater than 1,canvas 73 will be visible?
“And then, the strange things appear, always the first one content will appear the two button, the newer added content doesn’t work. I don’t know why.”
do you mean you want let canvas 73 appear beside the widget you hovered?
Yes. canvas 73 contain two button.
My problem is the canvas 73 always only appear the first one content even I already add three or four… text.
Yes, it should be when I hover the second, third, fourth… text, it will appear canvas 73.
In the code you show me i never see you change canvas 73 position,so the logic now is just hover the scroller->if child>1->visible canvas 73 at static position.
Because I already build besides the text. And then use the set visibility to control.
Oh Oh, Let me think. In this way, it just a static position. Thank you let me think!
I try to let Canva73 to set render transform, but this is not a solution.
The another strange thing is if this script was written in scrollbox blueprint and don’t set the branch condition. The each one can hover and appear Canva 73 normally.
But this result is still not I wanted, so I stuck few days.
you should let canvas 73 be a standalone widget(I mean a new bp file),and add a menu anchor to your “text” widget class,then when hoverd the “text” widget,use menu anchor to create the double button panel.