[UI] GetPosition doesn't work for children widgets

This doesn’t work when parent is automatic layout panel - Slot as Canvas Slot node returns null
(tested for WrapBox and HorizontalBox):

Hello laggyluk,

This is working as intended, the horizontal box for example does not track the position of it’s children in the same manner that a canvas panel does. Without knowing exactly what it is that you are trying to accomplish I have a suggestion that may help.

If you are trying to figure out what order your child widgets are in you could make your horizontal box a variable and then use get “Get Child At”. The widgets will be given an index from left to right. This means that the first widget (furthest to the left) will be index 0 and the second widget’s index will be 1 and so on.

59563-horizontalboxorderhelp.png

Make it a great day

Hi, thanks for the answer.
Since it’s not possible to use meshes within widget bp I wanted to use Wrap Box with dummy children so it handles their layout and then use their unprojected positions for spawning meshes

Hello laggyluk,

Could you create a new thread detailing exactly what it is that you are looking for? You can then post a link in a reply. That way anyone wanting to assist you in your efforts will have a place to submit their suggestions. I will be marking this question as resolved.

Make it a great day