Is it important in touch controller to have the x, y position based on the layer, instead of the viewport?
I'm reading a touch stick tutorial, and i don't understand why the creator use the CanvasToLayerX.
Develop games in your browser. Powerful, performant & highly capable.