Skip to content

format

typescript
Animation.isPlaying

class: Animation

description

(Read Only) Indicates whether the current animation is playing.

parameter

param_nametypedescription

reture

typedescription
boolean

code example

typescript
let obj = new GameObject();
let animation = obj.AddComponent<Animation>(Animation);
animation.isPlaying;