# Need rotating hand help

**URL:** <https://forum.kirupa.com/t/need-rotating-hand-help/207404>\
**Category:** programming\
**Created:** [November 17, 2006, 3:07am UTC](https://forum.kirupa.com/t/need-rotating-hand-help/207404 "2006-11-17T03:07:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jose3760](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/jose3760/32/2887_2.png) [@jose3760](https://forum.kirupa.com/u/jose3760)\
**Post date:** [November 17, 2006, 3:07am UTC](https://forum.kirupa.com/t/need-rotating-hand-help/207404/1 "2006-11-17T03:07:01Z")

</div>

I have my game where my guy picks up the gun, then shoots. I have it where my character is controlled by the aarow keys, and the gun is the cursor. when I click, the gun fires. BUTTTTTTT the only problem I have is that the hand/gun can move anywhere around the screen. I want to make it so that the hand/gun rotates around a certain point on my guy and is only limited to those spaces.

Email me at [joseph.scicluna@hotmail.com](mailto:joseph.scicluna@hotmail.com) if you wish to see the game, as the game is to big to put on here.
