Property pos
pos
Mouse position. GameView bottom-left == (0,0) top-right == (surface.width, surface.height) where surface == game display surface/rendertarget For screen pixel coordinates, game-view should be set to "Free Aspect". Works only in PlayMode.
Declaration
public Vector2 pos { readonly get; set; }
Property Value
Type | Description |
---|---|
Vector2 |