# unityFontDefinition

> Font to draw the element's text, defined as a FontDefinition structure. It takes precedence over -unity-font.

## Definition

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

```csharp
FontDefinition unityFontDefinition { get; }
```

### Remarks

This property is inherited by default.
