# cursorPosition

> The position of the text cursor inside the element's _contentRect.

## Definition

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

```csharp
Vector2 cursorPosition { get; }
```
