Limiting Sliders values

Moderators: Disciple, zlovatt

Post Reply
NickNoir
Posts: 2
Joined: August 16th, 2009, 10:36 am
Location: Finland
Contact:

Hey

I have wondered net to find how to limit sliders values to some area.
I know the "Edit value" but that doesn't limit slider. Is there expression or something else how you can limit slider values for area ex.like 0-274?
Paul Tuersley
Posts: 704
Joined: June 5th, 2004, 7:59 am
Location: London, UK

You could apply this expression to the slider property:

Code: Select all

clamp(value, 0,274);
NickNoir
Posts: 2
Joined: August 16th, 2009, 10:36 am
Location: Finland
Contact:

It worked. Thank you Paul Tuersley.
Post Reply