and, one thing I ran into recently that could be part of why the widget starts from the origin or places itself at the origin. I don’t have anytime to work through how exactly to fix it, because I don’t need this working, at least in the way I initially asked the question.
The issue is in the “My Geometry” and f Get Screen Space Position and Absolute to Local. So, when determining the offset and setting position in the viewport. Using the right geometry for the calculation will greatly impact the position in the viewport. You might thing the “My Geometry” is the canvas that is for your HUD, but it is actually the UMG widget itself, so much smaller geometry. For me this ended up positioning my widget near the origin, because it was a small 100x30 widget. So, I suspect that maybe there is a way to pass the main canvas geometry so that the widget position is properly placed in the viewport. I am attaching some images that show this. Note: The On Mouse Down to get offset is the same as in a solution I answered, so I am not including an image for it. Notice how “My Geometry” is not used and a variable holding the geometry to the main canvas UMG is used. You can get the main canvas geometry in its Tick or Mouse events.
