How to dinamically create UMG widget on specific position inside overlay/canvas/viewport?

I want to create UMG widget and put it on specific position inside of another widget/overlay/viewport, dinamically, by using Blueprints. (or C++ if not possible with blueprints).

Specifically, when i press right-mouse button, i would like to create and draw pop-up menu under current cursor position.

please help, thx.

Set your popup widget at 0,0 coordinates. Upon right click, spawn it, add it to your viewport, then add a set render translation node. The translation would be your mouse position which you can get, the target should be the popup widget you just spawned.

thx, i will try.