<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [server](./server.md) &gt; [PlayerEntity](./server.playerentity.md) &gt; [setTickWithPlayerInputEnabled](./server.playerentity.settickwithplayerinputenabled.md)

## PlayerEntity.setTickWithPlayerInputEnabled() method

Enables or disables `tickWithPlayerInput()` during the entity's tick.

Use for: temporarily disabling player control (cutscenes, menus, stuns).

**Signature:**

```typescript
setTickWithPlayerInputEnabled(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 `tickWithPlayerInput()` should be called.

\*\*Category:\*\* Entities


</td></tr>
</tbody></table>
**Returns:**

void

