# TryGetVelocity(out Vector3)

> Attempt to retrieve a vector representing the current velocity of the tracked node.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.XR](/engine/6000.6/script-reference/unityengine/xr.md)
* **Assembly:** UnityEngine.XRModule

## TryGetVelocity(Vector3)

```csharp
public bool TryGetVelocity(out Vector3 velocity)
```

### Parameters

**** (\[Vector3]\(/engine/6000.6/script-reference/unityengine/vector3)):&#x20;

### Returns

| Type                                                          | Description                                                                                                                                                                         |
| ------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | True if the velocity was set in the output parameter. False if the velocity is not available due to limitations of the underlying platform or if the node is not presently tracked. |
