how to pin a layer to right/bottom edge of the canvas? I get some margin I cannot eliminate.
kw = new Layer width: 200 height: 200
kw.x = Canvas.frame.width-kw.width
thx a lot, that was simple :D
(couldn't find the proper object to refer to)
how come canvas is not 100% screen, anyway?
You’re not using a device preset? The Screen = screen of your device (or whole screen when you’re using ’No Device’) and the Canvas is the entire document, so also everything around the device. You only need it when you e.g., want to set a background, like:
Canvas.backgroundColor = "#28affa"
Got it, canvas can hv multiple artboards from sketch, thx