# Inherit

> Inherits the directionality from the nearest ancestor with a specified directionality.

## Definition

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

```csharp
Inherit = 0
```
