function bang only at breakpoints?

Wil's icon

Is there a way to get function object to send bang only when crossing a breakpoint && only if y position does not change?

(well, besides putting all the number into a list or coll and extraction their position separately from function which I can do but ugh)

Screen Recording 2026-05-19 at 1.39.30 AM.mov


TFL's icon

You kind of answered your own question. Looking at the objects help file, [function] doesn't send bangs when the x value it receives crosses a point, it just doesn't work like that. So you'll need to make it yourself.

Here's my take on it, without the "&& only if y position does not change" part.

Max Patch
Copy patch and select New From Clipboard in Max.

Using [coll.codebox] just to see the cuepoints being updated as you modify the [function].

Wil's icon

Thanks TFL

I can get the '0' bangs out of coll.

Max Patch
Copy patch and select New From Clipboard in Max.