RAGE.Ui.Cursor.Position: Difference between revisions
(Created page with "Returns current cursor absolute position. ==Syntax== <pre>Bool RAGE.Ui.Cursor.Position;</pre> ==Example== {{CSharpContainer| <syntaxhighlight lang="C#"> public bool getCurso...") |
|||
| (One intermediate revision by the same user not shown) | |||
| Line 2: | Line 2: | ||
==Syntax== | ==Syntax== | ||
<pre> | <pre>Vector2 RAGE.Ui.Cursor.Position;</pre> | ||
==Example== | ==Example== | ||
{{CSharpContainer| | {{CSharpContainer| | ||
<syntaxhighlight lang="C#"> | <syntaxhighlight lang="C#"> | ||
public | public Vector2 getCursorPosition() | ||
{ | { | ||
return RAGE.Ui.Cursor.Position; | return RAGE.Ui.Cursor.Position; | ||
Latest revision as of 22:25, 11 November 2020
Returns current cursor absolute position.
Syntax
Vector2 RAGE.Ui.Cursor.Position;
Example
C# Syntax
public Vector2 getCursorPosition()
{
return RAGE.Ui.Cursor.Position;
}