Joint.shapeB

Returns the Shape that is attached to a joint on another Body. This method returns nil if there is no shape attached to the joint.

Kind: Member

Environments: Game

Game

Open the full Game reference

Get

Returns the Shape that is attached to a joint on another Body. This method returns nil if there is no shape attached to the joint.

Returns:

Type Description
Shape The joint's second shape.