what prototype action for a component to move or slide

Hello, I’d like to create an animation:
An element that, positioned at the bottom of a mask, would slide upwards (from its current position) when hovered to reveal its hidden portion.
I’m trying, but each time, one image slides over the other rather than the original image sliding.
Does anyone have any tips?