On computers, why is the mouse constrained in the left and top borders of the screen, but can go past the bottom and right border of the screen?

21 views
0

On computers, why is the mouse constrained in the left and top borders of the screen, but can go past the bottom and right border of the screen?

In: 0

It isn’t. It just that the mouse pointer is a 1×1 pixel and the image of the mouse cursor most often is on the upper left corner. If you change the mouse cursor to some centered icon, you’ll see the left and upper parts sticking out at the right and lower edges on the screen.

because the cursor is angled down and to the right. the tip of the cursor is the pixel you use to click, and that pixel is confined to the screen, but the actual shape of the cursor doesn’t need to be restricted in any way

I guess more accurately, the pixel you use to click needs to be able to hit the edges of your screen, so the cursor’s shape *needs* to be able to pass behind those edges

The icon of the mouse pointer clicks on whatever is at the upper left point of the icon. If you’re trying to click on something on the far right side of the screen, or on the bottom of the screen, most of the icon has to disappear off of the screen in order for you to click those things.

Depending on your monitor you can usually see the left edge of the mouse pointer when you’re on the far right side of the screen, but you can’t see the top because it’s just a single point.

The constraint is on the point of the cursor where the click location is read. The rest of the pointer is just decoration to help you see it. Since the arrow extends from the bottom right to that point, it has to go off-screen in order to reach the full extents of the screen. If the entire cursor were constrained, the bottom and left edges of the screen would by unclickable.

The mouse is constrained the same on all edges. The mouse itself is the very point of the arrow. The rest of the arrow just hangs off of this, and has no “collisions”.

Since the arrow hangs down and right, it disappears when the mouse is in the bottom right – the arrow hangs offscreen. When the mouse is up and left, the arrow hangs down and right; it hangs in the visible screen.