> For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://scripting.breeze.rip/newgen/api/functions/spoofmanager.onpacketsend.md).

# spoofManager.onPacketSend

> **onPacketSend**(`callback`): `void`

Decides what happens to each packet the client sends.

### Parameters

#### callback

(`packet`) => [`SpoofAction`](/newgen/api/enum_types/spoofaction.md)

Returns PROCESS, CANCEL or DELAY.

### Returns

`void`

### Remarks

Only while the script is initializing.
