# GetFlowEvents(List<FlowEvent>)

> Gets all flow events for the current frame and thread.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.Profiling](/engine/6000.3/script-reference/unityeditor/profiling.md)
* **Assembly:** UnityEditor

```csharp
public void GetFlowEvents(List<RawFrameDataView.FlowEvent> outFlowEvents)
```

### Parameters

**** (\[List\<FlowEvent>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)): Returns the list of all profiler flow events for the current frame and thread.
