How to make input.mousePosition Vector2 centered to middle of screen?

How to make input.mousePosition Vector2 centered to middle of screen, so it wouldn’t be based from bottom left corner.

You can’t change the value that gets returned. But you can subtract a vector that’s half the width and height from what’s returned.

I’d make a new Vector2/3 variable that would be mousePosition subtracted by half of the screen width for X and half of the screen height for Y using Screen.Width and Screen.Height

Hope it helps!