# alphaKeys

> All alpha keys defined in the gradient.

## Definition

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

```csharp
public GradientAlphaKey[] alphaKeys { get; set; }
```

### Remarks

Note that the alpha keys will be automatically sorted by time value and that it is ensured to always have a minimum of 2 alpha keys.
