Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/GameFramework > API/Runtime/Engine/GameFramework/APlayerController > API/Runtime/Engine/GameFramework/APlayerController/GetMousePosition
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/GameFramework/PlayerController.h |
| Include | #include "GameFramework/PlayerController.h" |
| Source | /Engine/Source/Runtime/Engine/Private/PlayerController.cpp |
bool GetMousePosition
&40;
float & LocationX,
float & LocationY
&41; const
Remarks
Retrieves the X and Y screen coordinates of the mouse cursor. Returns false if there is no associated mouse device