GetViewPosition (Harvest)
From OxeyeWiki
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()