UNPKG

hytopia

Version:

The HYTOPIA SDK makes it easy for developers to create massively multiplayer games using JavaScript or TypeScript.

14 lines (8 loc) 500 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [server](./server.md) &gt; [DefaultPlayerEntityController](./server.defaultplayerentitycontroller.md) &gt; [isSwimming](./server.defaultplayerentitycontroller.isswimming.md) ## DefaultPlayerEntityController.isSwimming property Whether the entity is swimming, this is determined by if the entity is in a liquid block. **Signature:** ```typescript get isSwimming(): boolean; ```