# Working with "This"

**URL:** <https://talk.observablehq.com/t/working-with-this/888>\
**Category:** Uncategorized\
**Created:** [June 16, 2018, 8:34pm UTC](https://talk.observablehq.com/t/working-with-this/888 "2018-06-16T20:34:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jjimenez](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/jjimenez/32/237_2.png) [@jjimenez](https://talk.observablehq.com/u/jjimenez)\
**Post date:** [June 16, 2018, 8:34pm UTC](https://talk.observablehq.com/t/working-with-this/888/1 "2018-06-16T20:34:34Z")

</div>

I know there is a notebook dealing with working with “this”, but…surprise… it is very difficult to search for. I’m trying to find it so I can find out the best way to reset a cell’s value. Since it sets itself to a base value when it first starts up, but thereafter uses its own value as the base, I can’t figure out the best way to reset it on demand without refreshing the browser window.

So two questions, anyone have a good way to find the notebook? Anyone have hints about how to reset a cell that uses “this”?

Third, would it be possible to add the notebook to the introduction or other collection?

I would add it to my favorites but I can’t find it 🙂

---

<div class="post-metadata">

**Author:** ![magjac](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/magjac/32/525_2.png) [@magjac](https://talk.observablehq.com/u/magjac)\
**Post date:** [June 16, 2018, 9:28pm UTC](https://talk.observablehq.com/t/working-with-this/888/2 "2018-06-16T21:28:22Z")

</div>

The ‘this’ notebook is [here](https://beta.observablehq.com/@tmcw/untitled/5). Reset the cell by opening it and clicking on the play button to the right or press Shift-Enter while the cell is focused.

---

<div class="post-metadata">

**Author:** ![itacirgabral](https://avatars.discourse-cdn.com/v4/letter/i/8491ac/32.png) [@itacirgabral](https://talk.observablehq.com/u/itacirgabral)\
**Post date:** [June 19, 2018, 6:39pm UTC](https://talk.observablehq.com/t/working-with-this/888/3 "2018-06-19T18:39:43Z")

</div>

it’s too

> **[Pause a Generator](https://observablehq.com/@mbostock/pause-a-generator)**
>
> Click the checkbox to pause the generator. Click it again to unpause. The generator uses \\\`this\\\` to access its previous value. When the \\\`paused\\\` checkbox is toggled, the generator is restarted. If \\\`paused\\\` is true, the generator yields only a...

> The generator uses this to access its previous value.
