— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
Changes the speed of an animation (in frames per second) for the specified entity. The animation name is case-sensitive.
set_animation_speed(entity, animation_name, speed)
set_animation_speed(entity["purple_slime"], "idle", 12);
Results: The purple slime's idle animation is updated to a speed of 12 frames per second.
Use the Set Animation Speed function (for the “walk” animation) in conjunction with Set Movement Speed to speed up or slow down a character's movement.