---
title: landscapeRight
framework: developertoolssupport
role: symbol
role_heading: Type Property
path: developertoolssupport/previewtrait/landscaperight
---

# landscapeRight

The device is in landscape mode, with the top of the device on the right.

## Declaration

```swift
@MainActor static var landscapeRight: PreviewTrait<Preview.ViewTraits> { get }
```

## Discussion

Discussion This is the same as landscapeRight.

## See Also

### Getting an orientation

- [portrait](developertoolssupport/previewtrait/portrait.md)
- [portraitUpsideDown](developertoolssupport/previewtrait/portraitupsidedown.md)
- [landscapeLeft](developertoolssupport/previewtrait/landscapeleft.md)
