Joint.getShapeB

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: Function

Environments: Game

Game

joint:getShapeB(  )

Open the full Game reference

Parameters:

Name Type Description
joint Joint The joint.

Returns:

Type Description
Shape The joint's second shape.