# GetTransformLookup(bool)

> Manually gets a TransformLookup object that can access a TransformRef.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Entities](/engine/7000.0/script-reference/unity/entities.md)
* **Assembly:** UnityEngine.EntitiesModule

```csharp
public TransformLookup GetTransformLookup(bool isReadOnly = false)
```

### Parameters

**** (\[bool]\(https\://learn.microsoft.com/dotnet/api/system.boolean)): Whether the transform data is only read or is also written. Access data in a read-only fashion whenever possible.

### Returns

| Type                                                                                 | Description                                                                                                                                 |
| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------- |
| [TransformLookup](/engine/7000.0/script-reference/unity/entities/transformlookup.md) | An array-like object that provides access to transform data, indexed by [Entity](/engine/7000.0/script-reference/unity/entities/entity.md). |

### Remarks

Remember to call [TransformLookup.Update](/engine/7000.0/script-reference/unity/entities/transformlookup/update.md).

Assign the returned object to a field of your Job struct so that you can access the contents of the transform in a Job.

Additional Resources: [ComponentLookup\<T>](/engine/7000.0/script-reference/unity/entities/componentlookup1.md)
