max mouse position
what defines the max mouse position based on the page size?
Min / max mouse coordinates will depend on screen.width
and screen.height
:
mouse.x range: [-screen.width/2 .. +screen.width/2]
mouse.y range: [-screen.height/2 .. +screen.height/2]
i'm landscape rotation and forced 16:9 as ratio and the max i can get in the canvas, whatever size it is, is [-178, 178] why? :C