Set Child Widget Location

Hey good people,

I’m stumbling on this issue where I’m trying to create a point in a canvas during gameplay and set it’s position once.

The point i’m creating is a image wrapped into a canvas. The anchor point for the image itself is in the top left corner.

This is the canvas i’m trying to spawn the point in.

I am able to move it just a little bit before it dissapears.

Found the solution here https://www.reddit.com/r/unrealengine/comments/3s3a37/i_want_set_position_when_use_addchild_node/.

I needed to cast to the Canvas Panel Slot from the return value of the Add child.

1 Like

confirmed…, exactly what i was looking 2 days for… thank you for posting the solution.

I have solved this problem. Thank you.