summaryrefslogtreecommitdiff
path: root/src/SMAPI/ICursorPosition.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/SMAPI/ICursorPosition.cs')
-rw-r--r--src/SMAPI/ICursorPosition.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/SMAPI/ICursorPosition.cs b/src/SMAPI/ICursorPosition.cs
index 78f4fc21..21c57db0 100644
--- a/src/SMAPI/ICursorPosition.cs
+++ b/src/SMAPI/ICursorPosition.cs
@@ -6,6 +6,9 @@ namespace StardewModdingAPI
/// <summary>Represents a cursor position in the different coordinate systems.</summary>
public interface ICursorPosition : IEquatable<ICursorPosition>
{
+ /// <summary>The pixel position relative to the top-left corner of the in-game map.</summary>
+ Vector2 AbsolutePixels { get; }
+
/// <summary>The pixel position relative to the top-left corner of the visible screen.</summary>
Vector2 ScreenPixels { get; }