# Lookup Table

Lookup Tables convert an input value to an output value, and can be used in the Stat effects of objects which affect stats, such as `ItemObjects`.

To create a Lookup Table, right click in the Project view, and select `Create/Game Modules/Create/Lookup Table`

<figure><img src="https://2431624982-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MY3N_li2jPq7az6mYfq%2Fuploads%2Fm8BHJVxNp2ocAHzjYozL%2FScreenshot%202023-06-16%20at%2012.15.47%20PM.png?alt=media&#x26;token=fdbcf526-21bc-4250-9705-e5e37b34dcb4" alt=""><figcaption></figcaption></figure>

Add input and output values, as you'd like. You can have as many lookup tables as you need for your project.

## Get the output value from a Lookup Table

```csharp
var lookupTable = SomeLookupTable;
var outputValue = lookupTable.ResultFrom(inputValue);
```
