# TextElement.GlyphsEnumerator

> Iterates over glyphs in visual order.

## Definition

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

```csharp
public struct TextElement.GlyphsEnumerator
```

## Properties

| Property                                                                                                  | Description                               |
| --------------------------------------------------------------------------------------------------------- | ----------------------------------------- |
| [Current](/engine/6000.7/script-reference/unityengine/uielements/textelement/glyphsenumerator/current.md) | Gets the current glyph’s vertex location. |

## Methods

| Method                                                                                                      | Description                                        |
| ----------------------------------------------------------------------------------------------------------- | -------------------------------------------------- |
| [MoveNext](/engine/6000.7/script-reference/unityengine/uielements/textelement/glyphsenumerator/movenext.md) | Advances the enumerator to the next visible glyph. |
| [Reset](/engine/6000.7/script-reference/unityengine/uielements/textelement/glyphsenumerator/reset.md)       | Resets the enumerator to its initial position.     |
