---
title: "setInfo(_:to:)"
framework: usdkit
role: symbol
role_heading: Instance Method
path: "usdkit/usdlayer/spec/metadatacollection/setinfo(_:to:)"
---

# setInfo(_:to:)

Sets key to value.

## Declaration

```swift
func setInfo(_ key: USDToken, to value: USDValue)
```

## Parameters

- `key`: The info key to author.
- `value`: The new value.
