Joint.length

Returns the current length of a piston. The length is measured in blocks.

Kind: Member

Environments: Game

Game

Open the full Game reference

Get

Returns the current length of a piston. The length is measured in blocks.

Returns:

Type Description
number The piston's current length in blocks.