Showing mouse movement on screen


I’m building a macro for a screen capture video. As part of this it would be really useful to be able to see the mouse moving between points (like a normal human is controlling it). Do you know if this is possible using the move mouse function or another workaround?

Any help would be greatly appreciated.

You can control the mouse motion explicitly, by stepping to each position in turn.

Basically, you just have to count from 1 to N (using a For Each action), and do a bit of maths to figure out the position at each step (Start + (End - Start) * Index/N) for X and Y. Here is a sort of similar example which draws a circle in a drawing program.

Thanks Peter, very helpful!