# Observable Cell Behavior for yield-ed vs return-ed animated svg element

**URL:** <https://talk.observablehq.com/t/observable-cell-behavior-for-yield-ed-vs-return-ed-animated-svg-element/5590>\
**Category:** Help\
**Created:** [September 18, 2021, 10:32am UTC](https://talk.observablehq.com/t/observable-cell-behavior-for-yield-ed-vs-return-ed-animated-svg-element/5590 "2021-09-18T10:32:01Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![hellonearthis](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/hellonearthis/32/3935_2.png) [@hellonearthis](https://talk.observablehq.com/u/hellonearthis)\
**Post date:** [September 18, 2021, 9:29pm UTC](https://talk.observablehq.com/t/observable-cell-behavior-for-yield-ed-vs-return-ed-animated-svg-element/5590/2 "2021-09-18T21:29:25Z")

</div>

Not sure why, but if you make an HTML cell it updates the SVG element

```auto
${svg2}

```

---

_[View the full topic](https://talk.observablehq.com/t/observable-cell-behavior-for-yield-ed-vs-return-ed-animated-svg-element/5590)._
