This function destroys a custom attachment created using one of the skeleton_attachment_create/skeleton_attachment_create_colour or skeleton_attachment_replace/skeleton_attachment_replace_colour functions.
After destroying an attachment the name becomes available again and you can create a new attachment with that name using skeleton_attachment_create.
skeleton_attachment_destroy(name);
Argument | Type | Description |
---|---|---|
name | String | The name of the attachment to destroy |
N/A
skeleton_attachment_destroy("leg_left");
The above code destroys an existing custom attachment with the name "leg_left".