How a widget on an Actor always follows the mouse in the same position.

I created a widget in Actor and made the following settings. Widgets are displayed as “screen”. I want to achieve that when I click anywhere, the widget will always be directly below the mouse.
(Keep the player Pawn Camera to follow when shifting).


I guess the best way is to convert the mouse position on the screen to the “Pivot” of Widgeta. But I’m not familiar with algorithms. Sincerely thank you!

I m Crying ,it is big problem

Greetings @TomHank !

Just so you’re aware, this topic has been moved from the International forum category to the Development - Programming & Scripting - UI forum category.

Just remember, when posting, please review the categories to ensure your topic is posted in the most relevant space.

Wishing you the best in getting a discussion started around the issue you’re having,

Your Friendly Neighborhood Moderator :smiley: