UNPKG

hytopia

Version:

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

14 lines (8 loc) 492 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [server](./server.md) &gt; [DefaultPlayerEntityControllerOptions](./server.defaultplayerentitycontrolleroptions.md) &gt; [canRun](./server.defaultplayerentitycontrolleroptions.canrun.md) ## DefaultPlayerEntityControllerOptions.canRun property A function allowing custom logic to determine if the entity can run. **Signature:** ```typescript canRun?: () => boolean; ```