#Cookie Clicker
28 messages · Page 1 of 1 (latest)
This code works
but if you click the auto clicker starts (then turns off really click because it only checks if it clicks)
I need it to check if LMB is being held down
not just tapped
any ideas?
If someone can fix this bug I'll cashapp you $20
I'm just very annonyed I've been trying to fix it for hours
this community doesn't accept payment for help
// Check if the left mouse button is pressed and the previous state was released
if ret == KEY_PRESSED && !mouseButtonState {
is this what you want?
Yes something like that
that is your current code
don't you specifically want it to return true when it is held down?
Crap I sent the wrong code
But yes that exactly
This is the code I meant to send
It works when you hold down L
but no matter what I do if I hold down LMB the best outcome is it'll just double click
and what behavior do you want exactly?