---
title: "metadata(_:)"
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/usdstage/object/metadatacollection/metadata(_:)-574ho"
---

# metadata(_:)

Returns the metadata value for the given key.

## Declaration

```swift
func metadata<T>(_ key: USDToken) -> T? where T : USDStage.Object.MetadataValue
```
