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

What is Framer? Join the Community
Return to index
Jaco Otto
Posted Jun 29 - Read on Facebook

A quick question.
I need help with using an array, please. I'm trying to change the properties of a few layers within an array on the selected state.

I'm using selectedItem = 0 or 1 etc. to change the selected state of a single layer in an array.

The problem is that I want to change the properties of multiple layers on the selected state.

Do I need to add layer.on Events.StateSwitchStart to trigger property changes to multiple layers in an array?

Or can I change properties for multiple layers within a single state?

Any help will be greatly appreciated.

1 Comments

Jaco Otto

I have a basic grid, but on the selected state a few layers need to change colour. On most array framer code examples only one layer property change.

Read the entire post on Facebook