# DeleteJoint

## Description

Deletes a joint and allows the connected sprites to move freely again. Joints should be deleted before sprites. Gear joints should be deleted before the joints it depends on. Deleting a joint that does not exist will not cause an error.

## Definition

DeleteJoint( iJointIndex )

void agk::DeleteJoint( UINT iJointIndex )

## Parameters

- iJointIndex - The ID of the joint to delete.