# Sandbox.MainThread

Utility functions that revolve around the main thread

- Kind: class
- Namespace: `Sandbox`
- Assembly: `Sandbox.Engine`
- Modifiers: static, abstract, sealed

## Methods

- [`Queue`](/api/Sandbox.MainThread/Queue): When running in another thread you can queue a method to run in the main thread. If you are on the main thread we will execute the method immediately and return.
- [`Wait`](/api/Sandbox.MainThread/Wait): Wait to execute on the main thread
