How are you moving the mouse cursor? Many games only register relative movement, so you'll want to try checking the "Move using relative data (useful for 3D games)" option in the mouse move action.
As an aside, you can right-click the action list and choose "Copy All as Text", so you can paste the contents of your command here.