hytopia
Version:
The HYTOPIA SDK makes it easy for developers to create massively multiplayer games using JavaScript or TypeScript.
54 lines (26 loc) • 818 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [server](./server.md) > [Simulation](./server.simulation.md) > [enableDebugRaycasting](./server.simulation.enabledebugraycasting.md)
## Simulation.enableDebugRaycasting() method
Enables or disables debug raycasting for the simulation. This will render lines for the raycast that disappear after a few seconds.
**Signature:**
```typescript
enableDebugRaycasting(enabled: boolean): void;
```
## Parameters
<table><thead><tr><th>
Parameter
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
enabled
</td><td>
boolean
</td><td>
Whether to enable debug raycasting.
</td></tr>
</tbody></table>
**Returns:**
void