---
title: "init(attribute:inverted:)"
framework: usdkit
role: symbol
role_heading: Initializer
platforms: [iOS 27.0+, iPadOS 27.0+, Mac Catalyst 27.0+, macOS 27.0+, tvOS 27.0+, visionOS 27.0+]
path: "usdkit/usdtransformoperation/init(attribute:inverted:)"
---

# init(attribute:inverted:)

Creates a transform operation from an attribute.

## Declaration

```swift
init(attribute: USDPrim.Attribute, inverted: Bool = false)
```

## Parameters

- `attribute`: The attribute backing this operation.
- `inverted`: Whether this is an inverse operation. Defaults to false.
