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

What is Framer? Join the Community
Return to index
Will Anderson
Posted Jul 06 - Read on Facebook

Trying to build out a prototype which filters an array of items based on user input. But running into some problems when trying to filter out layers.

Attached is a quick prototype to represent this. When a user taps on a square, I want all squares that *don't* correspond in color to reduce in opacity. But all (besides the one tapped) are fading out. What am I doing wrong?


Dan Bartley

I was a bit confused with this one, but it seems that you can't compare backgroundColors that way, so I gave the squares names with the same string and compared those instead:

Read the entire post on Facebook