Shooting gallary gun

Hi I am trying to make a shooting gallary, and everthing works fine. I just want to add one thing and that would be a gun, on the bottom of the screen. I wanted to know how you can move the top of the gun around. just moving it in angels.

is it angles like this?
If so you could use Math.atan2


onClipEvent (enterFrame) {
	this._rotation = Math.atan2(this._y-_root._ymouse, this._x-_root._xmouse)/(Math.PI/180)-90;
}