Skip to main content
Inspiring
April 13, 2020
Question

Disable animation in UI slider element in After Effects SDK

  • April 13, 2020
  • 1 reply
  • 590 views

Hi. I have an app where I need to disable the ability to animate certain sliders. How would I proceed to do this ?

Preferably it would appear greyed out near the animation button but would still allow the user to enter a value.

Obviously once a value is entered, it would be used for the entire layer duration.

Thanks.

This topic has been closed for replies.

1 reply

Community Expert
April 21, 2020

add PF_ParamFlag_CANNOT_TIME_VARY while declaring the parameter.
it would make the parameter non-keyframable, but you can still set a constant value.