-
[HELP] Add a conditional to a Slider control in Script UI?
Hello guys, i created a slider UI to control the opacity of my layers, and it’s working fine, but there’s a problem, if the property has a keyframe (the stopwatch enabled) the slider control stops working. I’m trying to make it work in both scenarios, if there’s no keyframes then change the opacity value of my layers, and if there’s a keyframe i want to create a new keyframe at current time (where the CTI is located). Any solution to this?
Something like this:
If (thisproperty) has no keyframes {change value of property
}else{
change value and add a keyframe at current time
}