# How to make a 2D sidescroller aim weapon 360 degrees with a gamepad?

**URL:** <https://forums.unrealengine.com/t/how-to-make-a-2d-sidescroller-aim-weapon-360-degrees-with-a-gamepad/487290>\
**Category:** Asset Creation\
**Tags:** unreal-engine, joystick, question\
**Created:** [August 10, 2021, 6:21pm UTC](https://forums.unrealengine.com/t/how-to-make-a-2d-sidescroller-aim-weapon-360-degrees-with-a-gamepad/487290 "2021-08-10T18:21:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_8fc00337](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_8fc00337](https://forums.unrealengine.com/u/anonymous_user_8fc00337)\
**Post date:** [August 10, 2021, 6:21pm UTC](https://forums.unrealengine.com/t/how-to-make-a-2d-sidescroller-aim-weapon-360-degrees-with-a-gamepad/487290/1 "2021-08-10T18:21:11Z")

</div>

I’m trying to make a 2D sidescroller shooter game where the player can aim their weapon with the left joystick 360 degrees. I have no idea how to script this and if anyone could help me I’ll gladly appreciate it.

This was my attempt in doing so.

 ![345995-player-8-9-2021-10-34-44-pm.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/c/b/ecb18181e42170d9b04ebe6c6fe439b2e879f199.png)
