[quote author=sangano link=topic=14490.msg15567#msg15567 date=1460082343]What I'm trying to do is a character(in a 3rd person view) moving in the X axis and the target move freely according to the mouse position only in X and Y axis.[/quote]Ah, so it's navigation is a 3d side-scroller/platformer?And when you say target you mean cross-hair?In that case I think you just want to parent the camera to the player and move the player only, camera follows.The weapon would orient/rotate to point towards the mouse cursor, if I understood you right, and shooting would result in a ray cast from the gun along the vector as defined by the ray cast?If so then along it's trajectory you want the ray to detect collisions with the enemy, if any happen.And the enemy would move on it's own independent of the camera.Assuming all of this is true, I think you just want to set a custom cursor icon for the cross-hair when the weapon is equipped/is not holstered.I have not yet checked on how to switch the icon for custom mouse cursor during run-time, but I know there's a setting for defining a custom cursor in project settings:[center][img width=581 height=241]https://picload.org/image/rgradrwl/custom_mouse_cursor.png[/img][/center]