set_movement_speed(character, speed)
Argument | Description | Type | Required |
---|---|---|---|
character | Character for which to update the movement speed. | Entity | Yes |
speed | New movement speed (in voxels per second). | Number | Yes |
Set Animation Speed would typically be used along with this function to simultaneously speed up or slow down both the character's walk animation and walking speed.