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:"Utils.global Layers filename"

1 Comments

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