# font

> Font to use to display text. You cannot set this and _fontAsset at the same time.

## Definition

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

```csharp
public Font font { readonly get; set; }
```
