<!--
{
  "availability" : [
    "LivePhotosKit JS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "LivePhotosKitJS",
  "identifier" : "/documentation/LivePhotosKitJS/LivePhotosKit.Player/pause",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "LivePhotosKit JS"
    ],
    "preciseIdentifier" : "instm/LivePhotosKit.Player/pause"
  },
  "title" : "pause"
}
-->

# pause

Pauses playback at the current time.

```
void pause();
```

## Discussion

This ensures that [`wantsToPlay`](/documentation/LivePhotosKitJS/LivePhotosKit.Player/wantsToPlay) is `false`, meaning that if loading activity completes, playback will not begin spuriously.

If the Player is already not playing, then, aside from maintaining the [`wantsToPlay`](/documentation/LivePhotosKitJS/LivePhotosKit.Player/wantsToPlay) value, this does nothing.

To resume playback, call the [`play`](/documentation/LivePhotosKitJS/LivePhotosKit.Player/play) or [`toggle`](/documentation/LivePhotosKitJS/LivePhotosKit.Player/toggle) method.

---

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)