animation speed no work

idont know what is wrong with the animation this time when i write

animation["R2i"].speed=2;

the animation get no work for me Despite useing the speed all time and it works with other animation in the same script when i make the speed of the animation the animation gets no work what should i do?

Per @Bunny83 Make sure that the animation is .enabled = true and that .weight > 0. You can do this by using Play() :slight_smile: