# Sandbox.SpriteRenderer.IsSorted

```csharp
bool IsSorted { get; set; }
```

Whether or not the sprite should be sorted by depth. If the sprite is opaque, this can be turned off for a performance boost if not needed.

Declared in [Sandbox.SpriteRenderer](/api/Sandbox.SpriteRenderer).
Assembly: `Sandbox.Engine`.
