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

What is Framer? Join the Community
Return to index
Parth Kapadia
Posted Apr 23 - Read on Facebook

is there a way to listen to events from multiple layers in a single instance?
use case: i want to perform a transition if either one from a set of 5 layers is tapped. is there a better way to go about this other than to set the onTap condition on each layer?

1 Comments

Marc Krenn

A combination of a 'for'-loop and a function should do the trick:
http://share.framerjs.com/qavk6iv2wmqj/

Read the entire post on Facebook