# MakeCode Kart

**URL:** https://forum.makecode.com/t/makecode-kart/5787
**Category:** Collaboration
**Tags:** art
**Created:** [January 27, 2021, 4:09pm UTC](https://forum.makecode.com/t/makecode-kart/5787 "2021-01-27T16:09:21Z")
**Posts on this page:** 1
**Showing post:** 129

<div class="post-metadata">

### Author: ![kwx](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/kwx/32/1545_2.png) [@kwx](https://forum.makecode.com/u/kwx)
#### Post date: [February 22, 2022, 7:14pm UTC](https://forum.makecode.com/t/makecode-kart/5787/129 "2022-02-22T19:14:30Z")

</div>

If I’m understanding it right, `scene.createRenderable()` adds new drawing code to the current scene, and the supplied function is called on every screen update. It’s up to you what you draw there. I don’t know offhand if there’s a function to remove a renderable, but you could simply add a `if (!thisFilterActive) return` at the top of the drawing function to just do nothing unless you want the filter or effect to be active.

Alternatively, I think you could use `game.pushScene()` and `game.popScene()` to switch out the scene entirely, and any renderables would be restricted to the currently active scene. More here: [How set a button to Pause the game? - #4 by richard](https://forum.makecode.com/t/how-set-a-button-to-pause-the-game/2381/4)

---

_[View the full topic](https://forum.makecode.com/t/makecode-kart/5787)._
