GetMouseLocation

From Onset Developer Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
GetMouseLocation

Type: Function
Context: Client
Introduced: v1.0

Description

Gets the mouse screen position X and Y.

https://docs.unrealengine.com/en-US/API/Runtime/Engine/GameFramework/APlayerController/GetMousePosition/index.html

Syntax

GetMouseLocation()

Parameters

  • This function has no parameters.

Return Value

  • On success returns 2 floats containing LocX, LocY. Returns false on error.

Example

__EDIT_ME__

See also

__EDIT_ME__