# Sandbox.Texture.GetPixel

```csharp
Color32 GetPixel(float x, float y, int mip = 0)
```

Reads a single pixel color.

### Parameters

- `x` (`float`)
- `y` (`float`)
- `mip` (`int`), default `0`

### Returns

`Color32`

Declared in [Sandbox.Texture](/api/Sandbox.Texture).
Assembly: `Sandbox.Engine`.
