# Can anyone tell me how to make a widget affect player

**URL:** <https://forums.unrealengine.com/t/can-anyone-tell-me-how-to-make-a-widget-affect-player/1667818>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, Blueprint, question\
**Created:** [February 5, 2024, 2:13pm UTC](https://forums.unrealengine.com/t/can-anyone-tell-me-how-to-make-a-widget-affect-player/1667818 "2024-02-05T14:13:45Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![nightling33](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/nightling33/32/904571_2.png) [@nightling33](https://forums.unrealengine.com/u/nightling33)\
**Post date:** [February 5, 2024, 2:13pm UTC](https://forums.unrealengine.com/t/can-anyone-tell-me-how-to-make-a-widget-affect-player/1667818/1 "2024-02-05T14:13:45Z")

</div>

I want to make it so that when a press a widget on the screen it will affect the players max walk speed, jump strenght, etc

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [February 5, 2024, 2:16pm UTC](https://forums.unrealengine.com/t/can-anyone-tell-me-how-to-make-a-widget-affect-player/1667818/2 "2024-02-05T14:16:35Z")

</div>

Either cast to the possessed pawn from the widget or dispatch. Both methods:

> [@How can I make a button to trigger an EnhancedInput event in my player blueprint?](https://forums.unrealengine.com/t/how-can-i-make-a-button-to-trigger-an-enhancedinput-event-in-my-player-blueprint/1658624/4):
>
> Like this: Not sure what you’re trying to do here: [image] If Jump\_B is a button and Milo is a character, you’re telling the editor to treat the button as if was a character. That will not work. If you want to access a possessed character:

---

<div class="post-metadata">

**Author:** ![nightling33](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/nightling33/32/904571_2.png) [@nightling33](https://forums.unrealengine.com/u/nightling33)\
**Post date:** [February 7, 2024, 3:45am UTC](https://forums.unrealengine.com/t/can-anyone-tell-me-how-to-make-a-widget-affect-player/1667818/3 "2024-02-07T03:45:04Z")

</div>

Thanks

---

<div class="post-metadata">

**Author:** ![Td1](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/td1/32/894132_2.png) [@Td1](https://forums.unrealengine.com/u/Td1)\
**Post date:** [February 7, 2024, 4:00am UTC](https://forums.unrealengine.com/t/can-anyone-tell-me-how-to-make-a-widget-affect-player/1667818/4 "2024-02-07T04:00:45Z")

</div>

on the widget put a button  
on clicked button cast to your charcter get charcter movment then set max walk speed speed, jump strenght, etc

---

<div class="post-metadata">

**Author:** ![Td1](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/td1/32/894132_2.png) [@Td1](https://forums.unrealengine.com/u/Td1)\
**Post date:** [February 7, 2024, 4:05am UTC](https://forums.unrealengine.com/t/can-anyone-tell-me-how-to-make-a-widget-affect-player/1667818/6 "2024-02-07T04:05:27Z")

</div>

if this helped you , you should press solution so if other pepole have this issue they can see the solution 🙂

---

<div class="post-metadata">

**Author:** ![nightling33](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/nightling33/32/904571_2.png) [@nightling33](https://forums.unrealengine.com/u/nightling33)\
**Post date:** [February 7, 2024, 4:06am UTC](https://forums.unrealengine.com/t/can-anyone-tell-me-how-to-make-a-widget-affect-player/1667818/7 "2024-02-07T04:06:10Z")

</div>

thanks

---

<div class="post-metadata">

**Author:** ![nightling33](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/nightling33/32/904571_2.png) [@nightling33](https://forums.unrealengine.com/u/nightling33)\
**Post date:** [February 7, 2024, 4:06am UTC](https://forums.unrealengine.com/t/can-anyone-tell-me-how-to-make-a-widget-affect-player/1667818/8 "2024-02-07T04:06:44Z")

</div>

i just tried it but all it does is this, any ideas

 ![Screenshot (1638)](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/f/2/1f248fa019f78a4e97a94614fefa6e39f535c0b1.png)

---

<div class="post-metadata">

**Author:** ![Td1](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/td1/32/894132_2.png) [@Td1](https://forums.unrealengine.com/u/Td1)\
**Post date:** [February 7, 2024, 4:08am UTC](https://forums.unrealengine.com/t/can-anyone-tell-me-how-to-make-a-widget-affect-player/1667818/9 "2024-02-07T04:08:12Z")

</div>

in object get player charcter not charter movement  
you should plug the char movment in the castand plug it the target of max walk speed

---

<div class="post-metadata">

**Author:** ![nightling33](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/nightling33/32/904571_2.png) [@nightling33](https://forums.unrealengine.com/u/nightling33)\
**Post date:** [February 7, 2024, 4:08am UTC](https://forums.unrealengine.com/t/can-anyone-tell-me-how-to-make-a-widget-affect-player/1667818/10 "2024-02-07T04:08:39Z")

</div>

oh sorry

---

<div class="post-metadata">

**Author:** ![Td1](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/td1/32/894132_2.png) [@Td1](https://forums.unrealengine.com/u/Td1)\
**Post date:** [February 7, 2024, 4:09am UTC](https://forums.unrealengine.com/t/can-anyone-tell-me-how-to-make-a-widget-affect-player/1667818/11 "2024-02-07T04:09:13Z")

</div>

nah its fine did it work now

---

<div class="post-metadata">

**Author:** ![nightling33](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/nightling33/32/904571_2.png) [@nightling33](https://forums.unrealengine.com/u/nightling33)\
**Post date:** [February 7, 2024, 4:11am UTC](https://forums.unrealengine.com/t/can-anyone-tell-me-how-to-make-a-widget-affect-player/1667818/12 "2024-02-07T04:11:16Z")

</div>

yes, thank you very much

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [March 8, 2024, 4:12am UTC](https://forums.unrealengine.com/t/can-anyone-tell-me-how-to-make-a-widget-affect-player/1667818/13 "2024-03-08T04:12:02Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
