Trying to make a Jquery function work

So… IT’S WORKING GREAT !!

With any external cods, that was anwsom, thanks so much !

For those who would go through it, we cannot use the elements that we want to announce as a trigger:
I used a transparent box as a trigger and it works wonderfully!

This is what my code gives in the final to annimate an element, it’s so simple …

let floatEffectOption = {
 "duration":   1500,
 "delay":     0,
 "direction" : "right"
};

export function box16_viewportEnter(event) {
  $w('#image4').show("float",floatEffectOption)
  **// You can add other items 
}
export function box16_viewportLeave(event) {
  $w('#image4').hide("float",floatEffectOption)
  **// You can add other items 
}

Thank again Russian-dima