# SetControllableByPlayer
void SetControllableByPlayer(iIndex, bSkipAdjustingPosition)
# Class
✔️ Server: CDOTA_BaseNPC
❌ Client: undefined
# Function Description
Set this unit controllable by the player with the passed ID.
# Parameters
| Type | Name | Description |
|---|---|---|
| int | iIndex | No Description Set |
| bool | bSkipAdjustingPosition | No Description Set |