localVelocity
The represented gesture recognizer’s current velocity in the coordinate space of the SwiftUI view it’s attached to.
Declaration
var localVelocity: CGPoint? { get }Discussion
If the gesture recognizer does not implement a velocityInView: method, returns nil.