# SetValue(string,bool)

Method in [MemoryVariableStore](https://docs.yarnspinner.dev/api/csharp/yarn/yarn.memoryvariablestore)

## Summary

Stores a `bool` in this VariableStorage.

```csharp
public virtual void SetValue(string variableName, bool boolValue)
```

## Parameters

| Name                  | Description                               |
| --------------------- | ----------------------------------------- |
| `string` variableName | The name to associate with this variable. |
| `bool` boolValue      | The boolean value to store.               |
