Skip to content

Commit 5bdfe2a

Browse files
authored
Merge pull request #139 from no-arr/method-add
Add `GetMouseWorldPosition` to `Input`
2 parents 169289c + 7cfebbd commit 5bdfe2a

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

docs/objects/static-classes/Input.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ end)
4747
<div data-search-exclude markdown>
4848
!!! danger "Undocumented Methods"
4949

50-
This section is a work in progress! The methods `GetMouseWorldPoint`, and `GetMouseWorldPosition`, are not written yet. Want to contribute? Go to the GitHub and open a pull request [here](https://github.com/Polytoria/Docs)!
50+
This section is a work in progress! The method `GetMouseWorldPoint` is not written yet. Want to contribute? Go to the GitHub and open a pull request [here](https://github.com/Polytoria/Docs)!
5151

5252
</div>
5353

@@ -95,6 +95,10 @@ Returns `true` during the frame in which the specified mouse button was pressed.
9595

9696
Returns `true` during the frame in which the specified mouse button was released.
9797

98+
### GetMouseWorldPosition:Vector3 { method }
99+
100+
Returns the 3D world-space position corresponding to the current mouse cursor location.
101+
98102
### ScreenPointToRay(position;Vector3, List ignoreList = null):RayResult { method }
99103

100104
Cast a ray from the camera at screen point into the game world

0 commit comments

Comments
 (0)