# ChangeSetMove

> Move an Asset or a list of Assets from their current changeset to a new changeset.

## Definition

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

## ChangeSetMove(AssetList, ChangeSet)

Move an Asset or a list of Assets from their current changeset to a new changeset.

```csharp
public static Task ChangeSetMove(AssetList assets, ChangeSet changeset)
```

### Parameters

**** (\[AssetList]\(/engine/6000.6/script-reference/unityeditor/versioncontrol/assetlist)): List of Assets to move to changeset.**** (\[ChangeSet]\(/engine/6000.6/script-reference/unityeditor/versioncontrol/changeset)): Changeset to move an Asset to.

### Returns

| Type                                                                       | Description |
| -------------------------------------------------------------------------- | ----------- |
| [Task](/engine/6000.6/script-reference/unityeditor/versioncontrol/task.md) |             |

### Remarks

E.g. in Perforce checked out Assets can be moved to a changeset other than the default changeset.

## ChangeSetMove(Asset, ChangeSet)

Move an Asset or a list of Assets from their current changeset to a new changeset.

```csharp
public static Task ChangeSetMove(Asset asset, ChangeSet changeset)
```

### Parameters

**** (\[Asset]\(/engine/6000.6/script-reference/unityeditor/versioncontrol/asset)): Asset to move to changeset.**** (\[ChangeSet]\(/engine/6000.6/script-reference/unityeditor/versioncontrol/changeset)): Changeset to move an Asset to.

### Returns

| Type                                                                       | Description |
| -------------------------------------------------------------------------- | ----------- |
| [Task](/engine/6000.6/script-reference/unityeditor/versioncontrol/task.md) |             |

### Remarks

E.g. in Perforce checked out Assets can be moved to a changeset other than the default changeset.

## ChangeSetMove(AssetList, string)

Move an Asset or a list of Assets from their current changeset to a new changeset.

```csharp
public static Task ChangeSetMove(AssetList assets, string changesetID)
```

### Parameters

**** (\[AssetList]\(/engine/6000.6/script-reference/unityeditor/versioncontrol/assetlist)): List of Assets to move to changeset.**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): ChangesetID to move an Asset to.

### Returns

| Type                                                                       | Description |
| -------------------------------------------------------------------------- | ----------- |
| [Task](/engine/6000.6/script-reference/unityeditor/versioncontrol/task.md) |             |

### Remarks

E.g. in Perforce checked out Assets can be moved to a changeset other than the default changeset.

## ChangeSetMove(Asset, string)

Move an Asset or a list of Assets from their current changeset to a new changeset.

```csharp
public static Task ChangeSetMove(Asset asset, string changesetID)
```

### Parameters

**** (\[Asset]\(/engine/6000.6/script-reference/unityeditor/versioncontrol/asset)): Asset to move to changeset.**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): ChangesetID to move an Asset to.

### Returns

| Type                                                                       | Description |
| -------------------------------------------------------------------------- | ----------- |
| [Task](/engine/6000.6/script-reference/unityeditor/versioncontrol/task.md) |             |

### Remarks

E.g. in Perforce checked out Assets can be moved to a changeset other than the default changeset.
