# Use a button as Right Thumbstick

**URL:** <https://forums.unrealengine.com/t/use-a-button-as-right-thumbstick/453349>\
**Category:** Character & Animation\
**Tags:** turn, virtual-joystick, unreal-engine, question\
**Created:** [August 4, 2019, 3:40pm UTC](https://forums.unrealengine.com/t/use-a-button-as-right-thumbstick/453349 "2019-08-04T15:40:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![KOMPLE21](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@KOMPLE21](https://forums.unrealengine.com/u/KOMPLE21)\
**Post date:** [August 4, 2019, 3:40pm UTC](https://forums.unrealengine.com/t/use-a-button-as-right-thumbstick/453349/1 "2019-08-04T15:40:41Z")

</div>

Hi. Is there a way to use an UI button to have the same function as the right thumb stick X-Axis (or generally the Turn Rate input action) when i leave the key boundaries while pressed? Basically i want it to use its main action when clicked, but when pressed and move your finger out of the button boundaries i want it to behave like a joystick, and change my turn rate by an input or default value. Or maybe even have a hole in the middle of the right virtual joystick to stick my button in and be able to turn while sweeping outside of the button without having to click there.
