How to change speed of a single animation in a blend tree in scripts?

It’s easy to change in editor, but how in scripts?

That’s not possible in a Blend Tree.

But if you use Animancer (link in my signature) you could replace the Blend Tree with a Mixer which would let you control whatever you want.

Really thanks for your help