# fontAsset

> SDF font to use to display text. You cannot set this and FontDefinition.font at the same time.

## Definition

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

```csharp
public FontAsset fontAsset { get; set; }
```
