Jump to content

API Mouse.GetPosition: Difference between revisions

From Flowcode Help
Admin (talk | contribs)
XML import API auto-gen
Admin (talk | contribs)
XML import of API auto-gen
Line 17: Line 17:
====Calling in a calculation====
====Calling in a calculation====
* Declare a variable 'result' of type HANDLE
* Declare a variable 'result' of type HANDLE
* Add to a calculation icon: result = ::Mouse.GetPosition()
* Add to a calculation icon: <pre class="brush:[C]">result = ::Mouse.GetPosition()</pre>

Revision as of 15:35, 10 May 2013

<sidebar>API contents</sidebar> Gets the position of the mouse, intersecting with a component or the viewing plane


Parameters

This function has no parameters

Return value

HANDLE

Returns the position of the mouse, intersecting with a component or the viewing plane

Detailed description

No additional information

Examples

Calling in a calculation

  • Declare a variable 'result' of type HANDLE
  • Add to a calculation icon:
    result = ::Mouse.GetPosition()