Scripting animation, entity inheritance parent?

I’m completely new to playcanvas, the parent entity is confusing to me …

I’m ideally wanting to start an animation every few seconds with and .fbx from 3ds Max.

I just have a keyframed animation setup and exported model into playcanvas.

the animation imports as a .json file, not sure if thats normal? If so it plays fine and loops fine in the editor, but I want to get familiar with PC scripting and I’m not sure what parent the comes from?
I tried:“animation”, 2); ……

pc.Animation.Play… .

I looked at example projects and still am not sure, THANKS!


nevermind I got it…“anim_name”,1);