# SetValue(string,bool)

Method in [IVariableStorage](https://docs.yarnspinner.dev/2.1/api/csharp/yarn/yarn.ivariablestorage)

## Summary

Stores a `bool` in this VariableStorage.

```csharp
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.               |
