<!--
{
  "availability" : [
    "iOS: 7.1.0 -",
    "iPadOS: 7.1.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.12.2 -",
    "tvOS: 7.1.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 5.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MediaPlayer",
  "identifier" : "/documentation/MediaPlayer/MPRemoteCommand/isEnabled",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Media Player"
    ],
    "preciseIdentifier" : "c:objc(cs)MPRemoteCommand(py)enabled"
  },
  "title" : "isEnabled"
}
-->

# isEnabled

A Boolean value that indicates whether a user can interact with the displayed element.

```
var isEnabled: Bool { get set }
```

## Discussion

When set to <doc://com.apple.documentation/documentation/Swift/true>, the designated element is enabled so users can interact with it. When set to <doc://com.apple.documentation/documentation/Swift/false>, events for this command are not sent to your app, and the user interface may be changed to reflect this when your app is the Now Playing app. The default value is <doc://com.apple.documentation/documentation/Swift/true>.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)