How to let an RL Agent move the mouse?
You could make the actions


move up
move down
move left
move right
shoot


Then you can declare the speed of this movement. If you want to go more in depth you can do


Accelerate up
Accelerate down
Accelerate left
Accelerate right
Shoot


This will give control of the speed to the neural networkm but is harder to train, and you should give the speed of the mouse as an input.