Copy link to clipboard
Copied
Hey Guys,
I have a script which adds a bounce function to a property. It works fine. My only thin g i;d like to do is make sure it is only run when the property selected is keyframeable.
Can someone help with a code snippet.
Say if the user has a property that is keyframeable we say "Thanks" with an alert. if it is not keyframeable we can alert with "Not keyframeable". Love to see if anyone has a clever idea for this. or i've missed something obviious.
Thanks In advance
Copy link to clipboard
Copied
Depending on what you're doing exactly, you may just need to check the property's canVaryOverTime attribute.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now