This command will return the integer handle of the joint represented by the specified JointNode. The parameter should be the integer handle of the Joint Node, which was previously returned by b2GetBodyFirstJointNode, b2GetNextJointNode, or b2GetPreviousJointNode.
Syntax
Return as Integer = b2GetJointNodeJoint(ID as Integer)