format
typescript
Animation.isPlayingclass: Animation
description
(Read Only) Indicates whether the current animation is playing.
parameter
| param_name | type | description |
|---|
reture
| type | description |
|---|---|
boolean |
code example
typescript
let obj = new GameObject();
let animation = obj.AddComponent<Animation>(Animation);
animation.isPlaying;