# Turn a button into joystick

**URL:** <https://forums.unrealengine.com/t/turn-a-button-into-joystick/453431>\
**Category:** UI\
**Tags:** button, virtual-joystick, unreal-engine, UI, question\
**Created:** [August 6, 2019, 2:28am UTC](https://forums.unrealengine.com/t/turn-a-button-into-joystick/453431 "2019-08-06T02:28:01Z")\
**Posts on this page:** 2\
**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 6, 2019, 2:28am UTC](https://forums.unrealengine.com/t/turn-a-button-into-joystick/453431/1 "2019-08-06T02:28:01Z")

</div>

Anyone knows how to use an UI button as a right virtual joystick? I want the button to have an action on clicked/released but when pressed and moved to have a joystick function. Or find the logic behind a joystick movement so i can replicate it, or changing the z order of the joystick and be able to do an action when i release it. Or any other suggestion.

---

<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 6, 2019, 4:00am UTC](https://forums.unrealengine.com/t/turn-a-button-into-joystick/453431/2 "2019-08-06T04:00:53Z")

</div>

Nevermind. I found a solution
