player !pointing and !rotating at mouse position(2DGame)

Please edit your post to use code-tags when posting code.

Thanks.