functiongenerated
Animation.play
Plays one of an object's animations by name, such as "walk". Calling it again with the animation already playing does nothing, so it is safe to call every frame.
Signature
Animation.play(entity: Entity, clip: String) -> unitMember of Animation
Related types
- Source
- docs/generated/decay-api.json
- Schema
- v1
- Engine version
- 0.1.0
- Source commit
909aca81368b