# TryGetGlyphWithIndexValue(uint, GlyphLoadFlags, out Glyph)

> Try loading the glyph for the given index value and if available populate the glyph.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.TextCore.LowLevel](/engine/6000.5/script-reference/unityengine/textcore/lowlevel.md)
* **Assembly:** UnityEngine.TextCoreFontEngineModule

## TryGetGlyphWithIndexValue(uint, GlyphLoadFlags, Glyph)

```csharp
public static bool TryGetGlyphWithIndexValue(uint glyphIndex, GlyphLoadFlags flags, out Glyph glyph)
```

### Parameters

**** (\[uint]\(https\://learn.microsoft.com/dotnet/api/system.uint32)): The index of the glyph that should be loaded.**** (\[GlyphLoadFlags]\(/engine/6000.5/script-reference/unityengine/textcore/lowlevel/glyphloadflags)): The glyph loading flag that should be used to load the glyph.**** (\[Glyph]\(/engine/6000.5/script-reference/unityengine/textcore/glyph)): The glyph using the provided index or the .notdef glyph (index 0) if no glyph was found at that index.

### Returns

| Type                                                          | Description                                                                 |
| ------------------------------------------------------------- | --------------------------------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | Returns true if a glyph exists at the given index. Otherwise returns false. |
