# Editor.Widget.SetContentHash

## Overload 1

```csharp
bool SetContentHash(int hash, float secondsDebounce = 0.1)
```

Call every frame/tick to redraw this Widget on content change

### Parameters

- `hash` (`int`)
- `secondsDebounce` (`float`), default `0.1`

### Returns

`bool`

## Overload 2

```csharp
bool SetContentHash(System.Func<int> getHash, float secondsDebounce = 0.1)
```

### Parameters

- `getHash` (`System.Func<int>`)
- `secondsDebounce` (`float`), default `0.1`

### Returns

`bool`

Declared in [Editor.Widget](/api/Editor.Widget).
Assembly: `Sandbox.Tools`.
