---
title: tag
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsvalidateduserinterfaceitem/tag
---

# tag

Returns the receiver’s tag integer.

## Declaration

```swift
@MainActor var tag: Int { get }
```

## Return Value

Return Value The receiver’s tag.

## See Also

### Getting information about a user interface item

- [action](appkit/nsvalidateduserinterfaceitem/action.md)
