Current frame animation

Hi,
can I print in console the current frame of an animationGroup of my glb file like inspector? Schermata 2020-06-29 alle 20.36.17

thanks

1 Like

The inspector displays a property called masterFrame which is available on the animatable objects like morph targets animations and so on :slight_smile:

In this playground Babylon.js Playground,
when click play animation I would like it to execute an event at a certain frame (from line 87 to 95) but not work.
I have tried to implement the code with mastreFrame but this also doesn’t work.
could you help me?

thanks

It is because you need to start the animation after adding the event:

https://playground.babylonjs.com/#AGBU24#1

1 Like

I really appreciated your help. Thank you very much