---
title: selection
framework: usdkit
role: symbol
role_heading: Instance Property
platforms: [iOS 27.0+, iPadOS 27.0+, Mac Catalyst 27.0+, macOS 27.0+, tvOS 27.0+, visionOS 27.0+]
path: usdkit/usdprim/variantset/selection
---

# selection

The currently selected variant name, or nil if no selection composes.

## Declaration

```swift
var selection: String? { get }
```
