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

What is Framer? Join the Community
Return to index
Wouter Duijts
Posted Aug 23 - Read on Facebook

Hi guys,

I'm wondering if it is possible (probably 'yes') to trigger an event on a child layer whereby the existing event on a parent layer is ignored.
In the attached example I want to be able to click on the small square(child) to change color without the big square(parent) to change color. https://framer.cloud/IKPxc

Thanks for the help!

1 Comments

Derek Nguyen

you could try
```
child.on Events.Click, (e) ->
--e.stopPropagation()
--# do other stuffs
```

Read the entire post on Facebook