Check if keyframe exists for a specific pose control
![jamesramirez6734](https://secure.gravatar.com/avatar/f860601803ee3d2b13a507aefc4f7f20?&r=pg&s=100&d=https%3A%2F%2Fvanillicon.com%2Ff860601803ee3d2b13a507aefc4f7f20_100.png)
Suppose I want to loop through frames and see if a keyframe exists for that pose control at frame X, is there an effective way to check for a keyframe's existance?
You currently have no notifications.
Suppose I want to loop through frames and see if a keyframe exists for that pose control at frame X, is there an effective way to check for a keyframe's existance?
Licensing Agreement | Terms of Service | Privacy Policy | EULA
© 2025 Daz Productions Inc. All Rights Reserved.
Comments
It may not be the most efficient way, but...
var numKeys = property.getNumKeys();
for (var i = 0; i < numKeys; i++) {
var time = property.getKeyTime(i);
if time == theTimeYoureLookingFor {
return true
}
}
return false