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

**URL:** <https://forums.unrealengine.com/t/how-a-widget-on-an-actor-always-follows-the-mouse-in-the-same-position/733055>\
**Category:** UI\
**Tags:** unreal-tournament-4, unreal-engine, Widget, question, Blueprint\
**Created:** [December 21, 2022, 7:38am UTC](https://forums.unrealengine.com/t/how-a-widget-on-an-actor-always-follows-the-mouse-in-the-same-position/733055 "2022-12-21T07:38:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![TomHank](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tomhank/32/615012_2.png) [@TomHank](https://forums.unrealengine.com/u/TomHank)\
**Post date:** [December 21, 2022, 7:38am UTC](https://forums.unrealengine.com/t/how-a-widget-on-an-actor-always-follows-the-mouse-in-the-same-position/733055/1 "2022-12-21T07:38:59Z")

</div>

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).

 ![UE4.26](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/0/8/808722ebeb95c9d4c8a7869c6b816f073aca9a01.jpeg)  
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!

---

<div class="post-metadata">

**Author:** ![TomHank](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tomhank/32/615012_2.png) [@TomHank](https://forums.unrealengine.com/u/TomHank)\
**Post date:** [December 21, 2022, 11:49am UTC](https://forums.unrealengine.com/t/how-a-widget-on-an-actor-always-follows-the-mouse-in-the-same-position/733055/2 "2022-12-21T11:49:04Z")

</div>

I m Crying ,it is big problem

---

<div class="post-metadata">

**Author:** ![Get\_DOVAH\_it](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/get_dovah_it/32/466948_2.png) [@Get\_DOVAH\_it](https://forums.unrealengine.com/u/Get_DOVAH_it)\
**Post date:** [December 21, 2022, 7:21pm UTC](https://forums.unrealengine.com/t/how-a-widget-on-an-actor-always-follows-the-mouse-in-the-same-position/733055/3 "2022-12-21T19:21:17Z")

</div>

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 😃
