Guide 1 Docs 2 Reference 3

Method of EntityHandle

entityHandle:play

Model size: reads vec3; write a positive number or equal-axis vec3. Nil without a model. Plays a model entity's animation from the start; on the one already playing, speed only changes its speed.

entityHandle:play(animation: string, opts: { speed: number? }?)

Parameters

animationstringrequired
opts{ speed: number? }optional