# assetPath

> Gets the path of the Asset relative to the project root. If the Asset is a meta file, the path to the meta file is returned.

## Definition

* **Type:** Property
* **Namespace:** [UnityEditor.VersionControl](/engine/6000.6/script-reference/unityeditor/versioncontrol.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public string assetPath { get; }
```
