---
title: rightCommand
framework: xcuiautomation
role: symbol
role_heading: Type Property
path: xcuiautomation/xcuikeyboardkey/rightcommand
---

# rightCommand

A constant that represents the right Command key.

## Declaration

```swift
static let rightCommand: XCUIKeyboardKey
```

## See Also

### Modifier keys

- [command](xcuiautomation/xcuikeyboardkey/command.md)
- [control](xcuiautomation/xcuikeyboardkey/control.md)
- [option](xcuiautomation/xcuikeyboardkey/option.md)
- [shift](xcuiautomation/xcuikeyboardkey/shift.md)
- [rightControl](xcuiautomation/xcuikeyboardkey/rightcontrol.md)
- [rightOption](xcuiautomation/xcuikeyboardkey/rightoption.md)
- [rightShift](xcuiautomation/xcuikeyboardkey/rightshift.md)
