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

What is Framer? Join the Community
Return to index
Fran Pérez
Posted Jan 16 - Read on Facebook

Hi guys. How can I stop listening to layer.on "change:y"?

4 Comments

Noam Elbaz

try using : ignore events. = true

Fran Pérez

That worked, thanks :)

Koen Bok

or layer.off "change:y", <function>

Fran Pérez

Koen, another related question. What I'm trying to do is have a layer covering everything with a click event that doesn't do anything in order to block temporarily other click and drag events. Is there a better way to do this?

Read the entire post on Facebook