if statement checking if mouse being used

Nov 22, 2013 at 2:16pm

if statement checking if mouse being used

hello,
I’m fairly new to Max so I don’t have much experience writing(patching) if statements. I’m using mouse estate and I’m trying to figure out how to switch between one function which uses the mouse and another function that doesn’t. Whenever I move the mouse(not click) I’d like for the first function to work.

Any suggestions?
Thanks in advance

#272106
Nov 23, 2013 at 5:43pm

use gate (or maybe switch):

mousestate–[+ 1]–[gate 2 1]

#273611

You must be logged in to reply to this topic.