# Sandbox.CameraComponent.BBoxToScreenPixels

```csharp
Rect BBoxToScreenPixels(BBox bounds, out bool isBehind)
```

Given a BBox in world space, will return the screen space rect that totally contains the box.

### Parameters

- `bounds` (`BBox`)
- `out isBehind` (`bool`)

### Returns

`Rect`

Declared in [Sandbox.CameraComponent](/api/Sandbox.CameraComponent).
Assembly: `Sandbox.Engine`.
