vy = function(sy) -- turn surface coordinates into viewport coordinates return scale(sy-Viewport.y) end