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

What is Framer? Join the Community
Return to index
Andy Cetnarskyj
Posted Dec 27 - Read on Facebook

Newbie question but if you want to add an event for any layer on your screen do you us "this" and if so are there any example prototypes?


Eelco Lempsink

Hi Andy, yes, you’ll need to set up the event handlers for each layer, but inside the handler you can use ‘this’ or the CoffeeScript shorthand ‘@’. We have a little section on it in our programming guide:

Read the entire post on Facebook