If, triggered by motion, is this possible?

I have been trying for 4 hours now, app scripts and everything, but I just can't get the draw gesture to activate when i hold right mouse button and move it, I could make cmd + but I want it to work with right mouse button after moving. I cant use the in built feature because of double click under the right mouse already.
Tanx a lot!

Little addition, I know that I can put it under click and activate it and then move, BUT, I want it under click, but with an if condition that only triggers when the mouse is actually moving. So if I dont move, it can go into long hold.

No movement allowed but it triggers when moved - #4 by Ilovelife the variable I suggest to add here would also fix this one