# SetAlpha(float)

> Set the alpha of the renderer. Will be multiplied with the UIVertex alpha and the Canvas alpha.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine](/engine/6000.7/script-reference/unityengine.md)
* **Assembly:** UnityEngine.UIModule

```csharp
public void SetAlpha(float alpha)
```

### Parameters

**** (\[float]\(https\://learn.microsoft.com/dotnet/api/system.single)): Alpha.
