> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Orientation

> Orientation (DEPRECATED)

The orientation that the touch layout will be displayed. This feature has been deprecated. All endpoints will ignore this value.

> [!WARNING]
>
> Orientation is deprecated and should not be used in any layouts. All endpoints will ignore this value.

## Constants

| Constant | Description |
| :- | :- |
| **landscape** | Render in landscape mode with the top-left of the layout equating to the top-left of the video stream. |
| **portrait** | Render in portrait mode with the top-left of the layout equating to the bottom-left of the video stream (as if the video stream was rotated 90 degrees counter clockwise). |
| **landscape-left** | Render in landscape mode with the device top being on the left side. |
| **landscape-right** | Render in landscape mode with the device top being on the right side. |
| **portrait-up** | Render in portrait mode with the device top being on the top side. |

## Remarks

> [!WARNING]
>
> The streaming client will always display the video stream in `landscape` orientation in relation to the XBOX video output.

Utilizing an orientation that implies a specific way that the device is being held by the player is likely to have unexpected results for some players. It is recommended to utilize only `landscape` or `portrait` orientations.

## See Also

[Touch Adaptation Kit Reference](https://docs.xbox.com/build/core-features/common/game-streaming/game-streaming-touch-touch-adaptation-kit-overview.md)\
[Layout](https://docs.xbox.com/reference/system/touchadaptationkit/layout/game-streaming-touch-layout.md)


## Related topics

- [Xbox Accessibility Guideline 107](https://docs.xbox.com/build/game-principles/accessibility/xag-deep-dives/xag-107-input.md)
- [GameInputSensorsState](https://docs.xbox.com/reference/input/gameinput/structs/gameinputsensorsstate.md)
- [Content](https://docs.xbox.com/reference/system/touchadaptationkit/layout/game-streaming-touch-layout-content.md)
- [GameInputSensorsKind](https://docs.xbox.com/reference/input/gameinput/enums/gameinputsensorskind.md)
- [Touch Adaptation Kit (TAK) Reference](https://docs.xbox.com/build/core-features/common/game-streaming/game-streaming-touch-touch-adaptation-kit-overview.md)
