Shape.getSticky

Returns the sticky directions of the shape for positive xyz and negative xyz.

Kind: Function

Environments: Game

Game

shape:getSticky(  )

Open the full Game reference

A value of 1 means that the direction is sticky and a value of 0 means that the direction is not sticky.

Parameters:

Name Type Description
shape Shape The shape.

Returns:

Type Description
{Vec3,Vec3} The negative xyz sticky and the positive xyz sticky.