# opacity

> Specifies the transparency of an element and of its children.

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine.UIElements](/engine/6000.7/script-reference/unityengine/uielements.md)
* **Assembly:** UnityEngine.UIElementsModule

```csharp
StyleFloat opacity { get; set; }
```

### Remarks

The opacity can be between 0.0 and 1.0. The lower value, the more transparent.
