<!--
{
  "availability" : [
    "iOS: 8.0.0 - 26.0.0",
    "iPadOS: 8.0.0 - 26.0.0",
    "macCatalyst: 13.1.0 - 26.0.0",
    "macOS: 10.8.0 - 26.0.0",
    "tvOS: 9.0.0 - 26.0.0",
    "visionOS: 1.0.0 - 26.0.0",
    "watchOS: 3.0.0 - 26.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "SceneKit",
  "identifier" : "/documentation/SceneKit/SCNSceneSource/property(forKey:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "SceneKit"
    ],
    "preciseIdentifier" : "c:objc(cs)SCNSceneSource(im)propertyForKey:"
  },
  "title" : "property(forKey:)"
}
-->

# property(forKey:)

Returns metadata about the scene.

```
func property(forKey key: String) -> Any?
```

## Parameters

`key`

A constant identifying a metadata property of the scene source. See [Scene Source Properties](/documentation/SceneKit/scene-source-properties) for available keys and the formats of their values.

## Return Value

The value for the metadata property, or `nil` if no value exists for the specified property.

## Discussion

This method returns information about the scene that is defined in the file but is not directly referenced by the scene.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)