---
description: This page goes over the onKill event.
---

# Kill event

This event will be called upon the player killing another entity. Handler name is `onKill`.

### `getEntity(): Entity`

Returns the killed entity.
