---
title: transforms
framework: scenekit
role: symbol
role_heading: Instance Property
path: scenekit/scnphysicsshape/transforms
---

# transforms

The array of transforms that was used to create a compound shape.

## Declaration

```swift
var transforms: [NSValue]? { get }
```

## Discussion

Discussion You provide this array of NSValue objects, each containing an SCNMatrix4 value, in the init(shapes:transforms:) method to create a compound shape. Use this array along with the sourceObject property to recover the information that was used to create the shape. If the shape was created with the init(geometry:options:) or init(node:options:) method, this property’s value is nil.

## See Also

### Getting Information About a Shape

- [sourceObject](scenekit/scnphysicsshape/sourceobject.md)
- [options](scenekit/scnphysicsshape/options.md)
