# touchScrollDirection

> The direction in which the content moves when a user drags it using touch, a pen, or a tracked device.

## Definition

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

```csharp
[UxmlAttribute]
public ScrollView.TouchScrollDirection touchScrollDirection { get; set; }
```

### Remarks

This applies to touch, pen, and tracked device input, such as XR controllers, on both screen-space and world-space panels. It doesn't affect dragging with a mouse, dragging the scrollers, or scrolling with a mouse wheel. The default is [ScrollView.TouchScrollDirection.Natural](/engine/7000.0/script-reference/unityengine/uielements/scrollview/touchscrolldirection/natural.md).
