#if !SMAPI_1_x using Microsoft.Xna.Framework; namespace StardewModdingAPI { /// Represents a cursor position in the different coordinate systems. public interface ICursorPosition { /// The pixel position relative to the top-left corner of the visible screen. Vector2 ScreenPixels { get; } /// The tile position under the cursor relative to the top-left corner of the map. Vector2 Tile { get; } /// The tile position that the game considers under the cursor for purposes of clicking actions. This may be different than if that's too far from the player. Vector2 GrabTile { get; } } } #endif