# IgnoreEvent(EventBase)

> Instructs the FocusController to ignore the given event. This will prevent the event from changing the current focused VisualElement or triggering focus events.

## Definition

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

```csharp
public void IgnoreEvent(EventBase evt)
```

### Parameters

**** (\[EventBase]\(/engine/6000.7/script-reference/unityengine/uielements/eventbase)): The event to be ignored.

### Remarks

In general this will have no effect if the event is not a [PointerDownEvent](/engine/6000.7/script-reference/unityengine/uielements/pointerdownevent.md), [MouseDownEvent](/engine/6000.7/script-reference/unityengine/uielements/mousedownevent.md), or [NavigationMoveEvent](/engine/6000.7/script-reference/unityengine/uielements/navigationmoveevent.md).
