How to detect double click

How in the world do i detect a double click?

This code is for left+right click:
image
This code is for double click (.5s):


Be sure to replace alert with the output code.

1 Like

i want double click like pressing LM down twice rapidly because I have a click and drag mech. i can set it to just be RM but I would prefer double left

MouseClick is left by default.
As for the timer, you can reduce the delay value to 0.2s for making LM work rapidly. Increase it if that’s too fast for you.
image

1 Like

Thank you For the code

And thank you for clarifiying