# Sandbox.UI.Panel.Opacity

```csharp
float Opacity { get; set; }
```

The currently calculated opacity.
This is set by multiplying our current style opacity with our parent's opacity.

Declared in [Sandbox.UI.Panel](/api/Sandbox.UI.Panel).
Assembly: `Sandbox.Engine`.
