Mouse.Y value going to negative

I was experimenting with the Mouse object a little bit, I found something that shouldn’t happen.
It is that If you take your Mouse above the GuiInset line, the Y-axis value of the mouse goes negative,
IDK if this is intentional, But I think it shouldn’t work like that.
I made A GUI with a simple script inside it that shows the value of the Mouse position, Here’s the demonstration video:

Mouse.Y measures the vertical component of the mouse’s position, relative to the topbar, which is found at the top of the player’s screen.

In the screenshot provided, you can see how the vertical position of the mouse is touching the bottom of the topbar, hence, the Y-value of 0. Therefore, any position above the bottom part of the topbar will be negative; as seen in the video.


This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.