GetMouseLocation: Difference between revisions

From Onset Developer Wiki
No edit summary
No edit summary
 
Line 1: Line 1:
{{Info|Function|Client|1.0}}
{{Info|Function|Client|1.0}}


{{FuncDescription|__EDIT_ME__}}
{{FuncDescription|Gets the mouse screen position X and Y.
 
https://docs.unrealengine.com/en-US/API/Runtime/Engine/GameFramework/APlayerController/GetMousePosition/index.html}}


{{FuncSyntax|GetMouseLocation()}}
{{FuncSyntax|GetMouseLocation()}}

Latest revision as of 10:50, 1 September 2020

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__