---
title: localVelocity
framework: swiftui
role: symbol
role_heading: Instance Property
path: swiftui/nsgesturerecognizerrepresentablecoordinatespaceconverter/localvelocity
---

# localVelocity

The represented gesture recognizer’s current velocity in the coordinate space of the SwiftUI view it’s attached to, or nil if the represented gesture recognizer doesn’t respond to -velocityInView: selector.

## Declaration

```swift
var localVelocity: CGPoint? { get }
```
