Shape.getRight

Returns the direction of a shape's right side.

Kind: Function

Environments: Game

Game

shape:getRight(  )

Open the full Game reference

The direction is affected by the shape's rotation in the world.

Parameters:

Name Type Description
shape Shape The shape.

Returns:

Type Description
Vec3 The shape's right-axis.