UNPKG

hytopia

Version:

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

22 lines (13 loc) 805 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [server](./server.md) &gt; [DefaultPlayerEntityOptions](./server.defaultplayerentityoptions.md) ## DefaultPlayerEntityOptions type Options for creating a DefaultPlayerEntity instance. Use for: customizing the default player avatar (for example cosmetic visibility). Do NOT use for: changing movement behavior; use `DefaultPlayerEntityControllerOptions`<!-- -->. \*\*Category:\*\* Entities **Signature:** ```typescript export type DefaultPlayerEntityOptions = { cosmeticHiddenSlots?: PlayerCosmeticSlot[]; } & PlayerEntityOptions; ``` **References:** [PlayerCosmeticSlot](./server.playercosmeticslot.md)<!-- -->, [PlayerEntityOptions](./server.playerentityoptions.md)