function SetScrollPos(boxId, x, y) { var bx = scene.getBoxById(boxId); if (bx && bx.overflowed) { bx.scrollOffsetX = x; bx.scrollOffsetY = y; } }