# this[]

> Access element at [row, column].

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine](/engine/6000.7/script-reference/unityengine.md)
* **Assembly:** UnityEngine.CoreModule

## this\[int, int]

Access element at \[row, column].

```csharp
public float this[int row, int column] { readonly get; set; }
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): **** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)):&#x20;

### Returns

| Type                                                          | Description |
| ------------------------------------------------------------- | ----------- |
| [float](https://learn.microsoft.com/dotnet/api/system.single) |             |

### Remarks

Both `row` and `column` must be from 0 to 3 inclusive. A matrix is 4x4 array of numbers, and you can access the individual elements using this function.

Note the standard math notation - row is the first index.

## this\[int]

Access element at sequential index (0..15 inclusive).

```csharp
public float this[int index] { readonly get; set; }
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)):&#x20;

### Returns

| Type                                                          | Description |
| ------------------------------------------------------------- | ----------- |
| [float](https://learn.microsoft.com/dotnet/api/system.single) |             |

### Remarks

A matrix is 4x4 array of numbers (16 numbers in total). You can access the individual elements using "flattened" index with this. The `index` is `row+column*4`.
