# Sandbox.GameObject.NetworkAccessor.SetOrphanedMode

```csharp
bool SetOrphanedMode(NetworkOrphaned action)
```

Set what happens to this networked object when the owner disconnects.

### Parameters

- `action` (`NetworkOrphaned`)

### Returns

`bool`

Declared in [Sandbox.GameObject.NetworkAccessor](/api/Sandbox.GameObject.NetworkAccessor).
Assembly: `Sandbox.Engine`.
