# 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:** 140

<div class="post-metadata">

**Author:** ![AqeeAqee](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/aqeeaqee/32/5424_2.png) [@AqeeAqee](https://forum.makecode.com/u/AqeeAqee)\
**Post date:** [February 28, 2022, 4:26pm UTC](https://forum.makecode.com/t/makecode-kart/5787/140 "2022-02-28T16:26:03Z")

</div>

And I did another test, add below line, to show out which pixels in bg img read. (only the white sector zone).

```auto
            scene.backgroundImage().setPixel(u * zmul, v * zmul,1)

```

![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/a/a16aed60584b0f7a9cf4100197249821e12dffcf.png)

So for 160\*80 times getPixel() are all against this small zone, many many times are reading the same dot. So I guess it could be a way to optimize by replacing getPixel() with getRows().  
I have no time to do it today, maybe tomorrow.

---

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