# How do I make a draggable shooting button for mobile?

**URL:** <https://forums.unrealengine.com/t/how-do-i-make-a-draggable-shooting-button-for-mobile/1652904>\
**Category:** Mobile\
**Tags:** mobile-games, Mobile, touch-interface, unreal-engine, touch\
**Created:** [January 30, 2024, 1:29am UTC](https://forums.unrealengine.com/t/how-do-i-make-a-draggable-shooting-button-for-mobile/1652904 "2024-01-30T01:29:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vneck-dude](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Vneck-dude](https://forums.unrealengine.com/u/Vneck-dude)\
**Post date:** [January 30, 2024, 1:29am UTC](https://forums.unrealengine.com/t/how-do-i-make-a-draggable-shooting-button-for-mobile/1652904/1 "2024-01-30T01:29:52Z")

</div>

I am trying to make a touch interface shoot button like any mobile fps game where you can hold and drag it to shoot while moving your screen around to aim, I followed this tutorial “[https://www.youtube.com/watch?v=MUKAqCHHyQo&t=181s](https://www.youtube.com/watch?v=MUKAqCHHyQo&t=181s)” It works but the only problem is I cant figure out how to get my “OnTouchEneded” function to call once you’ve dragged off the widget and release. so basically it will only be called if I drag my finger back onto the widget and then release, the reason I need this function working is because if I have automatic weapons in the game I need to know when to stop shooting
