Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

MouseState.Y Property

Specifies the vertical position of the mouse cursor.
Bb200119.note(en-us,XNAGameStudio.41).gifXbox 360 Specific Information
The value of this property is always 0.

Namespace: Microsoft.Xna.Framework.Input
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

public int Y { get; }

Property Value

Vertical position of the mouse cursor in relation to the upper-left corner of the game window.

If the mouse is above the client area (the inside portion of the game window, excluding the borders), the returned coordinate is negative. If the mouse is below the client area, the returned coordinate is greater than the window's client area height.

Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.