UNPKG

hytopia

Version:

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

21 lines (11 loc) 562 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. **Signature:** ```typescript get isSwimming(): boolean; ``` ## Remarks Determined by whether the entity is in contact with a liquid block. \*\*Category:\*\* Controllers