---
title: isTornOff
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsmenu/istornoff
---

# isTornOff

Indicates whether the menu is offscreen or attached to another menu (or if it’s the main menu).

## Declaration

```swift
var isTornOff: Bool { get }
```

## Discussion

Discussion This property has a value of false if the menu is offscreen, is attached to another menu, or is the main menu. Otherwise, this property has a value of true. Special Considerations This property has no effect in macOS 10.6 and later.

## See Also

### Managing Submenus

- [setSubmenu(_:for:)](appkit/nsmenu/setsubmenu(_:for:).md)
- [submenuAction(_:)](appkit/nsmenu/submenuaction(_:).md)
- [supermenu](appkit/nsmenu/supermenu.md)
