Limited the rotation

Scripting for After Effects

Limited the rotation

Postby lucifer1002 on 05/13/2016, 11:14 pm

I have this door that attached to slider control,if i change the keyframe to 92 it gonna open and if i change it into 0 it's gonna close...
my question is can i add expression to slider control to limited that 92?? i mean the expression to not let me change the number of keyframe above 92!!
Plz Help meh :) :D
lucifer1002
 
Posts: 21
Joined: 05/9/2016, 5:48 am
System Specs: i have 64-bit system.
is that count?

Re: Limited the rotation

Postby Mylenium on 05/14/2016, 1:55 am

clamp(value,0,92)

Mylenium
[Pour Mylène, ange sur terre]
----------------------------------------
www.myleniumblog.com
Mylenium
 
Posts: 3263
Joined: 02/1/2009, 11:45 am
Location: Germany
System Specs: Have, I do!

Re: Limited the rotation

Postby lucifer1002 on 05/14/2016, 6:47 am

You're awesome (hope this work)
lucifer1002
 
Posts: 21
Joined: 05/9/2016, 5:48 am
System Specs: i have 64-bit system.
is that count?


Return to After Effects Expressions