on_death
on_death()Triggered when an avatar reaches 0 health.
Examples
Section titled “Examples”Add example usage here showing how to handle the on_death event.
Add additional notes, caveats, or tips here.
See Also
Section titled “See Also”- Related events and functions can be linked here