object.detach

This function detaches an object from anything it has been attached to — even if that attachment wasn't set up by script.

Example

current_object.detach()

Notes

See also