# IFocusEvent

> Interface for focus events.

## Definition

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

```csharp
public interface IFocusEvent
```

## Remarks

Refer to the [Focus events](/engine/6000.7/manual/uitoolkits/uielements/uie-events/reference/uie-focus-events.md) manual page for more information and examples.

## Properties

| Property                                                                                             | Description                                                                                         |
| ---------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- |
| [direction](/engine/6000.7/script-reference/unityengine/uielements/ifocusevent/direction.md)         | Direction of the focus change. This corresponds to the FocusChangeDirection used by the focus ring. |
| [relatedTarget](/engine/6000.7/script-reference/unityengine/uielements/ifocusevent/relatedtarget.md) | Related target. See implementation for specific meaning.                                            |
