# GlobalScratchpad

> A global scratchpad.

## Definition

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

```csharp
public struct GlobalScratchpad
```

## Static Methods

| Method                                                                                          | Description                                                                                                                                                               |
| ----------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [GetAllocator](/engine/7000.0/script-reference/unity/entities/globalscratchpad/getallocator.md) | Retrieve a global scratchpad allocator.                                                                                                                                   |
| [Initialize](/engine/7000.0/script-reference/unity/entities/globalscratchpad/initialize.md)     | Initialize the global scratchpad, create and register all the global scratchpad allocators.                                                                               |
| [Rewind](/engine/7000.0/script-reference/unity/entities/globalscratchpad/rewind.md)             | Rewind the Scratchpad; rewinds all ScratchpadAllocator invalidate all allocations made from it, and potentially also free memory blocks it has allocated from the system. |
