wiki standardization authored by Lxlp's avatar Lxlp
[< Back to mechanic page](/Skills/Mechanics)
## Description
Configure the default animations of an active model.
## Attributes
| Attribute | Aliases | Description | Type | Default |
|-----------|---------------|----------------------------------------------------------------|-----------|------------|
| modelid | m, mid, model | Targeted model | String | |
| type | t | Default state type (check config section `Default-Animations`) | StateType | |
| state | s | The animation used when the default state is played | String | Last Value |
| lerpin | li | Transition tick when the animation starts | Integer | Last Value |
| lerpout | lo | Transition tick when the animation ends | Integer | Last Value |
| speed | sp | Speed multiplier of the state | Double | Last Value |
## Examples
In this example, you can see how the defaultstate mechanic can be used to apply temporary states to the mob. In this instance, a "running" state is used
```yaml
Skills:
- aura{d=100;name=running;
onStart=[
- defaultstate{mid=ExampleModel;type=walk;state=run}
];
onEnd=[
- defaultstate{mid=ExampleModel;type=walk;state=walk}
]} @self ~onDamaged
```
## Aliases
- [x] defaultanimation
\ No newline at end of file