backgroundpic.setSize(screensectionamount, (backgroundskysize.y * 2))
setSize does not work the same way in facebook instant game android browser, I do not know why, but size allows you to do interesting things you might want to keep. especially with gradient backgrounds. You can make a gradient 1 pixel wide, set the sprite size and it will fill the shape etc.