Script API
init(state)
update(dt, input, state)
draw(display, state)
display.keys[0].fill('#101820')
display.keys[4].fillRect(x,y,w,h,'#b8ee54')
display.keys[4].fillCircle(x,y,r,'#b8ee54')
display.keys[4].arc(x,y,r,start,end,'#b8ee54')
display.keys[4].fillText('18°C',x,y,'#fff',16)
display.keys[4].drawBitmap(rows,x,y,px,'#fff')
input.isDown(5)
input.isPressed('NEXT')
fetch(url) and getLocation() are available inside scripts.