Speed up/down CERTAIN animation

Hey I was wondering if it’s possible to set the speed of only one animation clip at a time.

This example, given in the reference sets the speed for all animations:

for (var state : AnimationState in animation) {
    state.speed = 0.5;
}

I tred several different things like: animationName.AnimationState.speed = n, but didn’t succeed.
I couldn’t also find a topic for that in the forums.

Be sure to read the whole reference page, not just the one code blurb at the top:
voila

Time-saver:
Yes : animation[ “animationNameHere” ].speed = n

1 Like

Oh god. So sorry, I went several times over that variable, but just missed it. I was searching for something like “name” or so/ Anyway, thanks!