Can I connect an animation and a component?

The you might need to connect them with a socket: