<!--
{
  "availability" : [
    "macOS: 11.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Virtualization",
  "identifier" : "/documentation/Virtualization/VZVirtualMachine/canPause",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Virtualization"
    ],
    "preciseIdentifier" : "c:objc(cs)VZVirtualMachine(py)canPause"
  },
  "title" : "canPause"
}
-->

# canPause

A Boolean value that indicates whether you can pause the VM.

```
var canPause: Bool { get }
```

## Discussion

The value of this property is <doc://com.apple.documentation/documentation/Swift/true> when the VM is in a state that allows you to pause it. Call the [`pause(completionHandler:)`](/documentation/Virtualization/VZVirtualMachine/pause(completionHandler:)) method (Swift) or [`pause()`](/documentation/Virtualization/VZVirtualMachine/pause()) method (Objective-C) to pause the VM.

---

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)