Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/APlayerController
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool GetMousePosition
(
float& LocationX, |
Retrieves the X and Y screen coordinates of the mouse cursor. | GameFramework/PlayerController.h |
|
bool GetMousePosition
(
double& LocationX, |
GameFramework/PlayerController.h |
|
GetMousePosition(float &, float &)
Description
Retrieves the X and Y screen coordinates of the mouse cursor. Returns false if there is no associated mouse device
| Name | GetMousePosition |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/GameFramework/PlayerController.h |
| Include Path | #include "GameFramework/PlayerController.h" |
UFUNCTION (BlueprintCallable, Category="Game|Player")
bool GetMousePosition
(
float & LocationX,
float & LocationY
) const
GetMousePosition(double &, double &)
| Name | GetMousePosition |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/GameFramework/PlayerController.h |
| Include Path | #include "GameFramework/PlayerController.h" |
UFUNCTION (BlueprintCallable, Category="Game|Player")
bool GetMousePosition
(
double & LocationX,
double & LocationY
) const