GetViewPosition (Harvest)
From OxeyeWiki
(Difference between revisions)
166 MMX (Talk | contribs)
(Created page with '{{HarvestMethod | worldX, worldY = getViewPosition() | Returns the current world view position. | | Returns two coordinates, worldX and worldY. Both are of the type Number. ...')
Newer edit →
(Created page with '{{HarvestMethod | worldX, worldY = getViewPosition() | Returns the current world view position. | | Returns two coordinates, worldX and worldY. Both are of the type Number. ...')
Newer edit →
Revision as of 22:56, 1 December 2009
|
worldX, worldY = getViewPosition() | ||
|
Returns the current world view position. | ||
| Parameter | Expected Type | Description |
| Returns | ||
|
Returns two coordinates, worldX and worldY. Both are of the type Number. | ||
Example
local wx,wy = harvest.getViewPosition()