Detect whether a number is passed through

Curly's icon

Hello,
Does anybody know what to use to detect if something is outputting new numbers? I am working on a patch which draws figures in a certain position. And when no position is sent through I want the figure to disappear. So now I need to know which command to use to detect wheter numbers are being passed through.
thanks in advance
Rik

Roman Thilenius's icon

[change]
[t b i]

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

[delay] is your friend here;

Ploki's icon

when you said *new* numbers i immediately thought of object Change.
it only outputs number if a new value occurs.(or of course, bang)