UiToolkit Transinition is not working

Hello everyone!

When i’m trying to animate element with transition, it’s not working
I have element with transition position option and change position with adding class from script, but it’s not animate

What should i do to animate position?

I’ve found answer
Transition doesn’t work when code’s not missing one frame. You can’t just change style for animation. You should create coroutine and miss frame, using yield return null

194468-4.png