Forums > MaxMSP

Detect movement of an object (dial)

August 8, 2013 | 11:40 am

Hi,

Is there any way to detect while I dial is being moved, so that it gives out a "1" while being moved and a "0"when not being moved?

Cheers

N


August 8, 2013 | 12:00 pm

I might do this:

<code>

– Pasted Max Patch, click to expand. –

</code>


October 6, 2013 | 7:49 pm

This is an interesting way. However, if I stop moving the dial for a second, this way detects that I have stopped moving it. What im really trying to do though, is to detect when the dial is touched. Is there any way to do this? Perhaps like a "on touch" , or "on click" function?


October 6, 2013 | 10:00 pm

you could use mousestate then:

<code>

– Pasted Max Patch, click to expand. –

</code>

(and even add change at the end, if you just want to get the notification once)


Viewing 4 posts - 1 through 4 (of 4 total)