Yes, it has to be the animation in the widget.
- Press green [+Animation] button.
- Select the NewAnimation and click green [+Track] button and select your main Canvas Panel (or the main parent object as you have it).
- Now on the newly added track, press grey [+] and select Transform.
- Open the Transform tree. You can delete the Keys for Rotation, Scale, and Shear. Open the Translation subtree.
- Now you have two values: X and Y. Note that they do not represent location of the Canvas Panel — they indicate the offset of the panel relative to its initial position.
- Set the keys as you wish to get what you want.
- In the Graph, you will now have the Animation in your variables. Just drag it into the Graph and Play when needed.