---
title: isActive
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtlattribute/isactive
---

# isActive

A Boolean value that indicates whether the attribute is active.

## Declaration

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

## See Also

### Reading an attribute’s properties

- [name](metal/mtlattribute/name.md)
- [attributeIndex](metal/mtlattribute/attributeindex.md)
- [attributeType](metal/mtlattribute/attributetype.md)
- [isPatchControlPointData](metal/mtlattribute/ispatchcontrolpointdata.md)
- [isPatchData](metal/mtlattribute/ispatchdata.md)
