# readOnly

> Returns true is the asset is read only.

## Definition

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

```csharp
public bool readOnly { get; }
```
