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

What is Framer? Join the Community
Return to index
Posted Sep 10 - Read on Facebook

» "Warning: Cannot make layer 'screen' a global, a variable with that name already exists"
when I code:" Layers filename"


Joshua Tucker

Hey there! You'll need to rename whichever layer from your Photoshop/Sketch document conflicts with "screen" (the one named the same). Since Utils.globalLayers flattens the variable name, there is the possibility for variable name conflict.

The best is to avoid naming anything that uses a reserved name.

Read the entire post on Facebook