Added a function for syncing to animations.