Search Unity

Animating hierarchy changes?

Discussion in 'UI Toolkit' started by dthurn, Sep 26, 2021.

  1. dthurn

    dthurn

    Joined:
    Feb 17, 2015
    Posts:
    77
    I have a Visual Element hierarchy with some elements in it:

    Screen Shot 2021-09-26 at 11.16.16 AM.png

    I would like to insert a new Visual Element into this hierarchy and animate all of the elements to their new layout positions:

    Screen Shot 2021-09-26 at 11.16.19 AM.png

    Is there an easy way to accomplish this? Or is the only solution "write a bunch of absolute positioning/tweening code"?
     
  2. HugoBD-Unity

    HugoBD-Unity

    Unity Technologies

    Joined:
    May 14, 2018
    Posts:
    499