I would like to attach an AnimationEvent to a skeletal animation.
Following this example from the documentation:
From the API I understand skeleton has the property animations, but when I try to to print, it throws an error. AnimationEvent - Babylon.js Documentation
What am I doing wrong?
Thanks in advance for any hint to solve the problem!