I'm having trouble getting the position of the mouse cursor.

you might have OrientRotationToMovement on or something fighting with the mouse