StopAnim
stopAnim
Stops a scripted visual animation previously requested for a player.
Syntax
bool stopAnim(int playerId)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
playerId |
int |
yes | The connected player identifier. |
Returns
Returns true when the stop request is accepted and queued; otherwise returns false.
Examples
Stop a scripted animation:
stopAnim(playerId)
Notes
- Available only in server-side resource scripts.
- Experimental: this affects the scripted animation layer and does not replace the normal replicated locomotion or action system.