I would imagine this would still work on all screens, because if the screen size changes, the mouse position will only ever be on the screen it’s being used on.
Sorry for the bump, but the ViewSizeY seems like it doesn’t scale properly. It goes past 1 when the mouse is near the bottom of the screen, and changing the screen size and putting my mouse in the same spot shows slightly different values.