The word Play applies the delay to the SendPlay mode rather than the traditional Send/SendEvent mode. If unset, the default delay is 10 for the traditional SendEvent mode and -1 for SendPlay mode. Use -1 for no delay at all and 0 for the smallest possible delay (however, if the Play parameter is present, both 0 and -1 produce no delay). SetMouseDelay Delay, Play Command Example: SetMouseDelay 100įunction Example: SetMouseDelay(100) Parameters Delay Sets the delay that will occur after each mouse movement or click.