How can I get which Action is currently playing?

I have a Blender file which is having about 5 actions. How can I get which Action is currently playing?

I believe that “actions” mean “animations”?
When exporting to GLB they will become animations Groups.
For example, if you import your GLB file with the help of AssetContainer, you’ll find all animation groups as

container.animationGroups

which is the array with all AGs imported with (or assigned to) this container.
Then you are able to do anything you want with the help of AnimationGroup API - Babylon.js docs

Yup. For the time being, I am using the scene.getAnimationGroupByName(); Anyway, I’ll look into the documents. Many thanks!!!

1 Like