Skip to content

ComponentCamera.getWorldPosition

Gauthier Billot edited this page Mar 24, 2015 · 2 revisions

Function

Returns the world position from the given screen position.

Synopsis
position = myEntity.myCameraComponent:getWorldPosition(input)
Arguments
Name Type Description
input vector2 Screen coordinates
Returns

Returns a vector2 containing the world position.

Clone this wiki locally