Guy i need help creating, the game doesn't have key to move left or right, it need hold to move, my experience still too low, try all the way on my experience but can't. So i need someone help me that.
Example: when i hold the Left key then mouse move to left and hold. Or i release Left key then mouse stop holding
Thank you so much.
Mouse hold using keys Topic is solved
Re: Mouse hold using keys
Code: Select all
#Requires AutoHotkey v1.1.33
dist := 10
Left::
While GetKeyState("Left", "P")
MouseMove -dist, 0, 1, R
Return
Re: Mouse hold using keys
[Mod edit: Fixed quote tags - and removed green checkmark.]
Sorry i accidentally press the solved button,
The code i need is mouse click hold not moving, sorry very much.
So the example i said that when press and hold Left key then click and hold until release the Left key so it stop holding click.
Thank you again
Re: Mouse hold using keys Topic is solved
Code: Select all
#Requires AutoHotkey v1.1.33
Left::LButton