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

What is Framer? Join the Community
Return to index
Alex Maximets
Posted Jul 26 - Read on Facebook

Can someone please explain to me why this returns an error?
rowThrow=()->
if rlayers[i+1].index/2==1
y=0
else
y=maxHeight
rowThrow()

Thank you

2 Comments

Alex Maximets

Clarification: It's supposed to check if the next layer's index in the array is an even number and, if it is give it's y property a 0

John Lee

why don't you use: % == 2 instead?

Read the entire post on Facebook