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

# instructionVariants

An array of strings that represent the instruction for this lane guidance, arranged from most- to least-preferred.

## Declaration

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

## Discussion

Discussion You need to provide at least one variant. Provide the variant strings as localized, displayable content.

## See Also

### Properties

- [lanes](carplay/cplaneguidance/lanes.md)
