Button Animation and Texture

Is there anyway to hookup animations to a button using Unity Animation and create a texture/icon on a button and reposition it?

Hi, are you talking about a UGUI button or a UI Toolkit button?

UI Toolkit button.
I know how to do it with UGUI by adding the component. But UI Toolkit button is done in the UI Builder editor so I’m not sure how it’s done.

At the moment, since UI Toolkit doesn’t use UnityEngine.Object for the elements, you can’t use the Animation window or the Timeline window with it directly. You would need to create the glue between UI Toolkit and Unity Animation manually.

If the animations that you are thinking of are simple (i.e. simple animation when hovering the button or move the button when clicked), we added USS transitions in 2021.2 (they work the same way as the CSS transitions).