Animation for objects on page via functions...

Hey, I would like to add an animation to an object on my page. I want it to be revealed when another object is hovered over. I want to set the direction to “Reveal from Top” since it is a line that should appear when the user is about to click the button to the next anchor AND I want to set a delay for it. How can I achieve that? Here’s what I have so far:

export function FirstArrow_mouseIn(event, $w) {
//Add your code for this event here:
$w(“#shape2”).show(“Reveal”);
}

Maybe there is a list of some kind, that shows all functions for animations? If there is I haven’t found it yet. Any thoughts?

Thanks in advance

Hi,

Currently there is no API for changing the animations.
The good new is that you can just set the SHOW animation in the Editor (without code), and just call show(), this will run the preset animation.

Liran.