# GetEditorPreviewTransformMatrix(Vector3Int)

> Gets the transform matrix of an editor preview Tile given the XYZ coordinates of a cell in the Tilemap.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.Tilemaps](/engine/6000.7/script-reference/unityengine/tilemaps.md)
* **Assembly:** UnityEngine.TilemapModule

```csharp
public Matrix4x4 GetEditorPreviewTransformMatrix(Vector3Int position)
```

### Parameters

**** (\[Vector3Int]\(/engine/6000.7/script-reference/unityengine/vector3int)): Position of the editor preview [Tile](/engine/6000.7/script-reference/unityengine/tilemaps/tile.md) on the [Tilemap](/engine/6000.7/script-reference/unityengine/tilemaps/tilemap.md).

### Returns

| Type                                                                  | Description           |
| --------------------------------------------------------------------- | --------------------- |
| [Matrix4x4](/engine/6000.7/script-reference/unityengine/matrix4x4.md) | The transform matrix. |

### Remarks

Refer to Scriptable Tiles and Tilemap for more information.
