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

What is Framer? Join the Community
Return to index
Cristian Constantin Olarasu
Posted Dec 23 - Read on Facebook

Hi guys, having a hard time setting up my canvas. I am attaching the hand and the device but I have no idea how to keep the canvas to the size of the device and all the intreractions to happen on the iphone's screen(see the seond click). Right now it feels like a hardcoded cheat :))

I uploaded the prototype here: https://framertest.herokuapp.com/
and my code looks like this:

7 Comments

Cristian Constantin Olarasu

does anyone know how to fix it?

Jordan Robert Dobson

It's not clear to me what you are doing. Looks like you are outside of Studio?

Cristian Constantin Olarasu

yep, I'm not using studio. I possitioned the hand and the phone, but I'm not sure how to define the canvas so It's limited to the phone's screen so x and y would be the screen's width and height and I can place the prototype inside @Jordan

Cristian Constantin Olarasu

@Jordan any idea for a solution?

Jordan Robert Dobson

I'm not so sure.

Cristian Constantin Olarasu

Benjamin Den Boer sorry for being pushy, I'm trying to find a solution and I'm sure I'm missing something. Please help, using a windows machine so no studio, just the library.

Javier Chávarri

As you are adding the hand as a Framer layer, you should add both of them (hand and device) at the end, so they always remain on top. Another possibility could be to use sendToBack() on your 'imageLayer' so it remains behind the other layers
http://framerjs.com/docs/#layer.sendToBack

Read the entire post on Facebook