Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Mouse Y is inverted on screen?

Whenever I move the mouse up, the Y decreases instead of increases. Is there a simple solution for this?

1 answer

The screen is measured from the top down, not the bottom up.

There's no real reason to want to change this.

You could subtract the mouse y position from the Screen's Absolute Y size to invert this number, though.

3 comments

0

in math y 0 is at the bottom, not at the top. that is why

0

also how would i get the screen's absolute Y

0

You could do so by getting the absolute size of a screenGui :3

This discussion is preserved as it was. New answers, comments, and votes are closed.