MouseIn MouseOut help

I made 2 events, mousein to show image3, and mouseout to hide image3, but they cancel out or something cause mouseout doesn’t hide image 3. is there a way to make it something like: onmousein show image3 UNTIL mouse out then hide image3??
export function a ( event ) { $w ( ‘#image3’ ). show ()

export function az ( event ) { $w ( ‘#image3’ ). hide
}

Hi!
I suggest you check out this amazing article. I’m sure you’ll find a solution to your problem there.

Thanks that worked, another question, how to make a hidden element “push” (or take space) other elements when it shows up

I’m sorry, I didn’t understand. Can you attach some screenshots?
But if the elements are positioned vertically, you can use the collapse and expand functions. https://www.wix.com/velo/reference/$w/collapsedmixin

they are and I did didnt work, but I’ll try again maybe I did it wrong