Detect movement of an object (dial)

Aug 8, 2013 at 11:40am

Detect movement of an object (dial)

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

#258355
Aug 8, 2013 at 12:00pm

I might do this:

<code>

– Pasted Max Patch, click to expand. –

</code>

#258358
Oct 6, 2013 at 7:49pm

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?

#267280
Oct 6, 2013 at 10:00pm

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)

#267288

You must be logged in to reply to this topic.