I'm using scroll to to move the virtual camera around, and i'd like to figure out what the left edge of the visible area is.
The right side is simply "LayoutWidth", but what's the left side?
Return the viewport boundaries in layout co-ordinates of a given layer. Not all layers have the same viewport if they are parallaxed, scaled or rotated separately.
Develop games in your browser. Powerful, performant & highly capable.
Ah. It's the paralaxing messing things up. Is there any way to calculate the edge with paralaxing?
CanvasToLayer & LayerToCanvas