# GetItemMarkerFlags(int)

> Use to retrieve a marker usage flags.

## Definition

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

```csharp
public MarkerFlags GetItemMarkerFlags(int id)
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): Hierarchy item identifier.

### Returns

| Type                                                                                   | Description         |
| -------------------------------------------------------------------------------------- | ------------------- |
| [MarkerFlags](/engine/6000.5/script-reference/unity/profiling/lowlevel/markerflags.md) | Marker usage flags. |

### Remarks

Marker usage flags give insight into sample origin (scripting or native code).

Additional Resources: [HierarchyFrameDataView.GetItemMarkerID](/engine/6000.5/script-reference/unityeditor/profiling/hierarchyframedataview/getitemmarkerid.md).
