> 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/examples/noswing.md).

# NoSwing

Stops the server from seeing your arm swing, while you still see it yourself.

```javascript
script.description = "Cancels swing packets.";

script.addListener("PacketSendEvent", (event) => {
    if (event.packet instanceof ServerboundSwingPacket) event.cancel();
});
```
