Shape.up

Returns the direction of a shape's top side.

Kind: Member

Environments: Game

Game

Open the full Game reference

Get

Returns the direction of a shape's top side.

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

Returns:

Type Description
Vec3 The shape's up-axis.