GetViewPosition (Harvest)

From OxeyeWiki

Revision as of 16:15, 2 December 2009 by 166 MMX (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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()

Resources

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox