Limit mousewheel


i made a scrolling list by transforming y coordinates with the mousewheel. i want to limit the value of the wheel, so that the list won’t loop.

i throught of a counter, change and checking if the value is + or -, but is there a more easy way?

yours truly
the schlonz

the node Map (Value) or MapRange (Value) have a Clamp mode. or you use the Min and Max nodes…