Detect movement of an object (dial)

newtfish's icon

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

mzed's icon
Max Patch
Copy patch and select New From Clipboard in Max.

I might do this:

newtfish's icon

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?

Tobias Rosenberger's icon
Max Patch
Copy patch and select New From Clipboard in Max.

you could use mousestate then:

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

Michael DeFiore's icon

Long time coming but...great patch. Thanks!