AnimationTree Blending 2D Animations?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By rakkarage

I have an Attack animation, a Walk animation, and three Idle animations.
I am trying to set up an animation tree to deal with them all.
I have the three idle animations in a 1D blend so I can choose a random animation by setting the parameter
but how can i reenter Idle to play the next animation?
i cannot seem to transition to self…
So I handled the AnimationFinished and set new random number and restart or travel to idle but nothing happens
is it possible to use animation blending to choose a random animation? like unity?

:bust_in_silhouette: Reply From: rakkarage

you need to call a function from a function track in the animation to set a random value for the blend parameter