Returns a list of all animations in the scene.
getAnimations(): Promise<string[]>
None.
Promise<string[]> — Array of animation names.
Promise<string[]>
const animations = await api.getAnimations(); console.log(animations); // ["Open", "Close", "Spin"]
Last updated 5 months ago