Animate a 3D UI Frame in Niantic Studio

If I wanted to have a popUp Frame slide up when a user clicks on a button would I not be able to do that using PositionAnimation.set? It doesn’t seem to work for me.

ecs.PositionAnimation.set(world, UiPopUp, {
          toX: 0,
          toY: -0.901,
          toZ: 3,
          autoFrom: true,
          duration: 4000,
          loop: false,
          reverse: false,
          easeIn: true,
          easeOut: false,
          easingFunction: 'Quadratic',
        })

Thanks for your help!