# cursorPosition

> The position of the text cursor inside the element.

## Definition

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

```csharp
[CreateProperty(ReadOnly = true)]
public Vector2 cursorPosition { get; }
```
