Function and sustain points, I don't get them

Thomas's icon

I bet this has been answered before but I still don't get it so here goes.

I have the [function] connected to a [line].

I'm simply trying to make an function object spit out a sequence of numbers from an envelope I drew in with multiple points. Is there a way to make the function object go through all the points? It seems like it always stop at the first one, regardless of whether I clicked it to "color it out" or not (which should remove the sustain property of the point).

I can get it to work with [line~] but not with [line], which is weird since I though it would have to do with the [function].
I try to send a clearsustain message to [function] but it still stops at the first point.

My workaround has been to use [line~] and send to a [number~] and taken the signal value of this to get the number sequence, but I don't like this method. What am I missing?

Robin Parmar's icon

The whole point of sustain is that the function will "stop" at that point and sustain the value. But if you clear the sustain it should no longer stop.

Perhaps post a snippet to clear up any confusion.