# GetPooled(EventModifiers)

> Gets an event from the event pool and initializes it with the given values. Use this function instead of creating new events. Events obtained from this method should be released back to the pool using Dispose().

## Definition

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

```csharp
public static T GetPooled(EventModifiers modifiers = EventModifiers.None)
```

### Parameters

**** (\[EventModifiers]\(/engine/6000.5/script-reference/unityengine/eventmodifiers)): The modifier keys held down during the event.

### Returns

| Type | Description                      |
| ---- | -------------------------------- |
| T    | An initialized navigation event. |
