# Sandbox.NetworkHelper

Creates a networked game lobby and assigns player prefabs to connected clients.

- Kind: class
- Namespace: `Sandbox`
- Assembly: `Sandbox.Engine`
- Inherits: [Sandbox.Component](/api/Sandbox.Component)
- Modifiers: sealed

## Constructors

- [`NetworkHelper`](/api/Sandbox.NetworkHelper/.ctor)

## Properties

- [`PlayerPrefab`](/api/Sandbox.NetworkHelper/PlayerPrefab): The prefab to spawn for the player to control.
- [`SpawnPoints`](/api/Sandbox.NetworkHelper/SpawnPoints): A list of points to choose from randomly to spawn the player in. If not set, we'll spawn at the location of the NetworkHelper object.
- [`StartServer`](/api/Sandbox.NetworkHelper/StartServer): Create a server (if we're not joining one)

## Methods

- [`OnActive`](/api/Sandbox.NetworkHelper/OnActive): A client is fully connected to the server. This is called on the host.
