@@ -9,9 +9,21 @@ Causes the target to change its speed attribute
| type | t | Type of speed, can be `FLY` or any other string. If not exactly `FLY`, this will change walk speed | WALK |
### Speed Attribute
To make this mechanic set a specific [MovementSpeed](/Mobs/Options#movementspeed) its `speed` attribute will need a value of
```math
speed=MovementSpeed*5
```
or, to say it in other words
```math
MovementSpeed=speed/5
```
So, if you want to set the mob's MovementSpeed to 0.2, you will need a speed value of 1; if you want a MovementSpeed of 0.4, you will need a aspped value of 2 and so on
<!--
This value will then be multiplied by the default speed value of the respective speed type:
-`0.1` for `WALK`
-`0.2` for `FLY`
-->
## Examples
This will set the mob's walking speed to 2 when it spawns