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!
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,