This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Delphia Pijpler
Posted Aug 03 - Read on Facebook

Is there a way to remove an element from the project? I'd like a specific event to trigger the removal of a layer

1 Comments

Joshua Miller

One method is animating to 0% opacity depending on the use.

or after event something like this:

# Remove the layer when done
hint.onAnimationEnd -> hint.destroy()

In the docs under "Events.wrap(event)"

Read the entire post on Facebook