---
title: reverse
framework: metalperformanceshadersgraph
role: symbol
role_heading: Instance Property
path: metalperformanceshadersgraph/mpsgraphlstmdescriptor/reverse
---

# reverse

A parameter that defines time direction of the input sequence.

## Declaration

```swift
var reverse: Bool { get set }
```

## Discussion

Discussion If set to YES then the input sequence is passed in reverse time order to the layer. Note: Ignored when bidirectional = YES. Default value: NO.
