---
title: isEnabled
framework: mediaplayer
role: symbol
role_heading: Instance Property
path: mediaplayer/mpremotecommand/isenabled
---

# isEnabled

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

## Declaration

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

## Discussion

Discussion When set to true, the designated element is enabled so users can interact with it. When set to 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 true.
