---
title: mode
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/fromtobyaction/mode
---

# mode

Determines the entities transform from and to are relative to.

## Declaration

```swift
var mode: FromToByAction<Transform>.TransformMode? { get }
```

## Discussion

Discussion note: The expection to this mode is by. This property is relative to the starting value, Set this to nil if only by is specified.
