# Sandbox.SpawnPoint.GetAllByPriority

```csharp
static List<SpawnPoint> GetAllByPriority(Scene scene)
```

The enabled spawn points in `scene`, highest [Sandbox.SpawnPoint.Priority](/api/Sandbox.SpawnPoint/Priority) first, shuffled within each priority.

### Parameters

- `scene` (`Scene`)

### Returns

`List<SpawnPoint>`

Declared in [Sandbox.SpawnPoint](/api/Sandbox.SpawnPoint).
Assembly: `Sandbox.Engine`.
