Shape.getLocalPosition

Returns the local grid position of a shape.

Kind: Function

Environments: Game

Game

shape:getLocalPosition(  )

Open the full Game reference

Parameters:

Name Type Description
shape Shape The shape.

Returns:

Type Description
Vec3 The shape's local position.