soz for not being more efficent with the search function

but im trying to figure out how to hold the left mose botton down for a period of time and all i can manage to do it make it press then sleep , then press etc.

could some1 send me some useful code or a working example pllzzz

ty

edit: btw i wish to hold the right mouse button down not the left ^^ ty

Code:
For i = 0 To 30
 mouse_event MOUSEEVENTF_LEFTDOWN Or MOUSEEVENTF_LEFTUP, 0&, 0&, cButt, dwEI
 Sleep 200
Next i