> For the complete documentation index, see [llms.txt](https://levelalfaomega.gitbook.io/unity-mugen/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://levelalfaomega.gitbook.io/unity-mugen/unity-mugen/state-controller-reference/destroyself.md).

# DestroySelf

If called by a helper-type character, DestroySelf causes that character to be removed from the field of play. DestroySelf is not valid for non-helper characters.

### Required parameters:

&#x20;          none<br>

### Optional parameters:

&#x20;          recursive = *recursive\_flag* (int)

&#x20;                     If 1, all helper descendents of this helper will also be destroyed. Defaults to 0.

&#x20;          removeexplods = *remove\_explods* (int)

&#x20;                     If 1, all explods belonging to the helper will also be removed. If *recursive\_flag* is 1, explods belonging to descendents of the helper will also be removed. Defaults to 0.

### Notes:

&#x20;          Any players or explods bound to the helper will be forcefully unbound when DestroySelf is executed.

&#x20;          Any unremoved explods belonging to a destroyed helper will become orphaned.
