---
title: instructionVariants
framework: carplay
role: symbol
role_heading: Instance Property
path: carplay/cpmaneuver/instructionvariants
---

# instructionVariants

An array of instruction variants for the maneuver.

## Declaration

```swift
var instructionVariants: [String] { get set }
```

## Discussion

Discussion Localize each variant for display to the user, and make sure the array contains at least one variant. The system displays the first variant that fits into the available screen space, so arrange the variants in order from most- to least-preferred. note: If you provide both instructionVariants and attributedInstructionVariants, the system displays instructions from the attributed instruction variants array.
