I need a command to be executed as long as the left mouse button is being held down.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Look at table 7-1 of the docs. There are events that specify motion while the button is pressed,
<B1-Motion>,<B2-Motion>etc.If you’re not talking about a press-and-move event, then you can start doing your activity on
<Button-1>and stop doing it when you receive<B1-Release>.