Welcome on MasterOf13FPS! MasterOf13FPS

Register today or sign up if you are already a member and never miss any cool content again :)

Left click detection

MasterOf13FPS

Administrator
Staff member
Administrator
MasterOf13FPS
Joined
Jul 11, 2020
Messages
0
Reaction score
25
Points
0
Hello, I'm coding an autoclicker in java and i want to make a boolean true while I hold left click and make it false when I not hold how can I do that?
 
If Function (if the left Mouse Button is hold) ➥ boolean xyz = true;
 
if(Mouse.isButtonDown(0)){...}
 
Hello, I'm coding an autoclicker in java and i want to make a boolean true while I hold left click and make it false when I not hold how can I do that?
make a mouse listener and change the boolean when the mouse is clicked?
 
shape1
shape2
shape3
shape4
shape5
shape6
Back
Top