Hello !
I’ve read the topics about my issue but I can’t seem to find any answer, at least one that works for me. I’m using UE4 as i’m too scared to upgrade my project to UE5
I have a widget in which I spawn other widgets dynamically, in a gridpanel.
I want to link some of the spawned widgets between them by drawing a line.
I’ve tried the “onpaint” node but it’s called too early (on construct?) as I spawn the widgets dynamically.
So I just created a “line” widget and want to spawn it where I want.
The problem is, I don’t know a way to get the spawned widgets position in viewport, or even in the main widget.
my widgets all have canvas panel, sizebox, image etc.
I tried using “get cached geometry” and “local to viewport” or even “local to absolute” and it seems like I always get the “0,0” position or the top left corner position.
I’m sorry for my english and I hope i’m being clear enough !
Thanks a lot if someone can help me !