use layerX and layerY