Skip to content

Commit

Permalink
more docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Geokureli committed Jul 10, 2024
1 parent 98844c6 commit 00ba77a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flixel/input/FlxPointer.hx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ class FlxPointer
}

/**
* The world position relative to the main camera's scroll position, where `(0, 0)` is the
* The position relative to the game's position in the window, where `(0, 0)` is the
* top-left edge of the game and `(FlxG.width, FlxG.height)` is the bottom-right
*
* **Note:** Fields `gameX` and `gameY` also store this result
Expand All @@ -97,7 +97,7 @@ class FlxPointer
}

/**
* Fetch the position of the pointer relative to given camera's `scroll` position, where
* Fetch the world position relative to the main camera's `scroll` position, where
* `(cam.viewMarginLeft, cam.viewMarginTop)` is the top-left of the camera and
* `(cam.viewMarginRight, cam.viewMarginBottom)` is the bottom right
*
Expand Down

0 comments on commit 00ba77a

Please sign in to comment.