# Rotate for game

**URL:** <https://forum.kirupa.com/t/rotate-for-game/172066>\
**Category:** Uncategorized\
**Created:** [December 10, 2005, 9:02pm UTC](https://forum.kirupa.com/t/rotate-for-game/172066 "2005-12-10T21:02:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ritual](https://avatars.discourse-cdn.com/v4/letter/r/35a633/32.png) [@ritual](https://forum.kirupa.com/u/ritual)\
**Post date:** [December 10, 2005, 9:02pm UTC](https://forum.kirupa.com/t/rotate-for-game/172066/1 "2005-12-10T21:02:38Z")

</div>

i’m making a little game where you move a tank around with the arrow keys whilst you can move the turret 360 degrees at the same time using the mouse. Could somebody help me with the mouse part, i want the turret to point where the mouse is.

I also need a shell to fire out the barrel when the mouse is clicked

I’ve attached the file, please help
