---
title: changeShuffleModeCommand
framework: mediaplayer
role: symbol
role_heading: Instance Property
path: mediaplayer/mpremotecommandcenter/changeshufflemodecommand
---

# changeShuffleModeCommand

The command object for changing the shuffle mode.

## Declaration

```swift
var changeShuffleModeCommand: MPChangeShuffleModeCommand { get }
```

## Discussion

Discussion Use the object in this property to register your app’s handler for changing the shuffle mode for the playlist. In your handler, change the shuffle mode to the new value. You can disable the command if your app does not support it.

## See Also

### Navigating between tracks

- [nextTrackCommand](mediaplayer/mpremotecommandcenter/nexttrackcommand.md)
- [previousTrackCommand](mediaplayer/mpremotecommandcenter/previoustrackcommand.md)
- [changeRepeatModeCommand](mediaplayer/mpremotecommandcenter/changerepeatmodecommand.md)
