ID:2565716
Apr 28 2020, 10:45 pm
|
|
Hi everyone, is it possible to bind left mouse click to a keyboard key? or is there a way to do .click con current mouse pos? I'm looking for a way to hold the left mouse button constantly sending clicks within byond.
|
Apr 29 2020, 2:49 pm
|
|
Mouse buttons can't be used as macro keys for mapping purposes, but you can map gamepad buttons to a mouse button. However it would not be able to spam repeated clicks.
|
Not sure if you still need help but you could just use an auto clicker. Google RS client auto clicker
|
You could use MouseDown() and MouseUp() instead of Click(), that way you can set up a loop that repeats the action until the mouse is released.
|
In response to Magicsofa
|
|
Yeah. If OP is talking as a player, BYOND can't do it for them. In that case, this thread should be in BYOND Help.
If OP is the developer of the game, it's just a simple loop. |