Animation transition thingy

First of all, I’m new and have no idea of what I’m doing.
I’ve been trying to make this animation that plays when the cursor hovers onto the button and when it unhoversm deal is it does the jump thingy between the two animations and i don’t know how to “fix” it.

(post deleted by author)


what i meant is im trying to do something like this where when hovering a button the image+text overlaying it moves up and unhovering moves it down, rapidly hovering and unhovering spamming both at the same time.

Do you mean this animation:

Sequence 01