GetViewPosition (Harvest)

From OxeyeWiki

(Difference between revisions)
Jump to: navigation, search
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 →

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.

Harvest Library

Example

local wx,wy = harvest.getViewPosition()
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox