animator. setfloat doesnt exist why ?

Make sure that when you post your code in the forums you you use correct code tags so it’s more readable to other users.

What do you mean it doesn’t work? It doesn’t do what you want? Are you getting compile errors?