Discord
Login
Community
DARK THEME

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

Post a reply

Progress

Status

Preview
Cancel
Post
Validate your e-mail address to participate in the community