# Tilt

Artifact: [androidx.xr.arcore:arcore](https://developer.android.com/jetpack/androidx/releases/xr-arcore) [View Source](https://cs.android.com/search?q=file:androidx/xr/arcore/TiltGesture.kt+class:androidx.xr.arcore.Tilt) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/xr-arcore#1.0.0)

*** ** * ** ***


```
@ExperimentalGesturesApi
public final class Tilt
```

<br />

*** ** * ** ***

Vertical tilt state of the device.

## Summary

| ### Public fields |
|---|---|
| `static final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/xr/arcore/Tilt` | `https://developer.android.com/reference/androidx/xr/arcore/Tilt#DOWN()` The device is tilted downwards, surpassing the defined lower threshold. |
| `static final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/xr/arcore/Tilt` | `https://developer.android.com/reference/androidx/xr/arcore/Tilt#UP()` The device is tilted upwards, surpassing the defined upper threshold. |

| ### Public methods |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/xr/arcore/Tilt#toString()()` |

## Public fields

### DOWN

```
public static final @NonNull Tilt DOWN
```

The device is tilted downwards, surpassing the defined lower threshold.

### UP

```
public static final @NonNull Tilt UP
```

The device is tilted upwards, surpassing the defined upper threshold.

## Public methods

### toString

```
public @NonNull String toString()
```