thanks for your answer.
We want this behaviour:
We have a “roll” animation for our character where he rolls on the floor.
When the animation ends, we need to check, if he is able to stand up. If this is true, the “walking” animation should start. If it is false, the “roll” animation has to repeat/restart.
That’s why we want to change the loop property depending on this condition.