Question about limit for a parameter expression

Hi all! new to touch designer and i’m loving it. Just trying to wrap my head around expressions for a parameter. I know there is more extensive scripting via a text dat but i’m wondering if i can do this purely in the parameter expression filed.

i have a circle SOP with radius (x , y) scripted with this expression:

op(‘analyze1’)[‘chan1’].eval()*10

I want to prevent the evaluation of this from passing a certain integer. Is this possible? How would i do it?

tdu.clamp got you covered :slight_smile: https://docs.derivative.ca/Tdu_Module
If it is just about clamping the max value just use the min function
min( my_expression, maximum_value )

1 Like

thank you, would you mind providing me an applicable example?