# PopEvent(Event)

> Get the next queued [Event] from the event system.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine](/engine/6000.6/script-reference/unityengine.md)
* **Assembly:** UnityEngine.IMGUIModule

```csharp
public static bool PopEvent(Event outEvent)
```

### Parameters

**** (\[Event]\(/engine/6000.6/script-reference/unityengine/event)): Next Event.

### Returns

| Type                                                          | Description |
| ------------------------------------------------------------- | ----------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) |             |
