---
title: "repeat(_:)"
framework: symbols
role: symbol
role_heading: Instance Method
path: "symbols/symboleffectoptions/repeat(_:)-316cr"
---

# repeat(_:)

Creates a set of symbol effect options that repeats with a preferred behavior.

## Declaration

```swift
func `repeat`(_ behavior: SymbolEffectOptions.RepeatBehavior) -> SymbolEffectOptions
```

## Parameters

- `behavior`: The preferred behavior when the effect is repeated.

## Return Value

Return Value A new set of symbol effect options with the preferred repeat behavior.
