---
title: "transform(at:)"
framework: usdkit
role: symbol
role_heading: Instance Method
platforms: [iOS 27.0+, iPadOS 27.0+, Mac Catalyst 27.0+, macOS 27.0+, tvOS 27.0+, visionOS 27.0+]
path: "usdkit/usdprim/transform(at:)"
---

# transform(at:)

Computes the prim’s composed local transform at the specified time.

## Declaration

```swift
func transform(at time: USDStage.TimeCode = .default) -> USDValue.Matrix4d?
```

## Parameters

- `time`: The time at which to evaluate the transform. Defaults to .default.

## Return Value

Return Value The composed local transformation matrix, or nil if the prim is not transformable.
