# TryGetPosition(out Vector3)

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

## Definition

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

## TryGetPosition(Vector3)

```csharp
public bool TryGetPosition(out Vector3 position)
```

### Parameters

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

### Returns

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