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

What is Framer? Join the Community
Return to index
Claudio Henriquez
Posted Feb 19 - Read on Facebook

Hello Guys, I'm new to framer Js and I'm just trying to do a quick prototype following this tutorial

I'm using my own design for this, the problem is as follows:

When I create a new layer (time 8:13 of the linked video) and I try to set one of my imported layers as the content of this new layer by using the property image, I get no results.

If I bring this new layer to the screen I can only see a black background with transparency, according to the tutorial, it should has the layer I'm assigning to it via the image property.

Here is an example of my code:

sketch = Framer.Importer.load("imported/[email protected]")

explore_layer = new Layer
width: 750
height: 1334
image: sketch.explore.explore_group
x: screen.width

sketch.Tab_3.on Events.Click, ->
x: 0
y: 0
curve: "spring(400, 35, 0)"

Here is also a screenshot of my layers


Jurre Houtkamp

There is no need to define the actual artboard the layer is set up in in sketch. You are trying to call sketch.explore.explore_group, try sketch.explore_group

Read the entire post on Facebook