Contents

localTranslation

The represented gesture recognizer’s current translation in the coordinate space of the SwiftUI view it’s attached to.

Declaration

var localTranslation: CGPoint? { get }

Discussion

If the gesture recognizer does not implement a translationInView: method, returns nil.