GetMouseLocation: Difference between revisions

From Onset Developer Wiki
(Created page with "{{Info|Function|Client|1.0}} {{FuncDescription|__EDIT_ME__}} {{FuncSyntax|GetMouseLocation()}} {{FuncParameters}} {{FuncNoParam}} {{FuncReturnValue|__EDIT_ME__}} == Examp...")
 
No edit summary
 
(One intermediate revision by the same user not shown)
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()}}
Line 8: Line 10:
{{FuncNoParam}}
{{FuncNoParam}}


{{FuncReturnValue|__EDIT_ME__}}
{{FuncReturnValue|On success returns 2 floats containing LocX, LocY. Returns '''false''' on error.}}


== Example ==
== Example ==

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__