# Touch color code?

**URL:** <https://forum.code.org/t/touch-color-code/35397>\
**Category:** CS Discoveries\
**Tags:** csd-unit-3\
**Created:** [November 10, 2021, 4:10pm UTC](https://forum.code.org/t/touch-color-code/35397 "2021-11-10T16:10:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![GordonBrune](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/gordonbrune/32/4752_2.png) [@GordonBrune](https://forum.code.org/u/GordonBrune)\
**Post date:** [November 10, 2021, 4:10pm UTC](https://forum.code.org/t/touch-color-code/35397/1 "2021-11-10T16:10:30Z")

</div>

Is there a “touchColor” code command??

---

<div class="post-metadata">

**Author:** ![edavis](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/edavis/32/4927_2.png) [@edavis](https://forum.code.org/u/edavis)\
**Post date:** [November 10, 2021, 11:12pm UTC](https://forum.code.org/t/touch-color-code/35397/2 "2021-11-10T23:12:37Z")

</div>

Hi @GordonBrune , as far as I know, that block does not exist in Game Lab. Maybe someone else knows a work around?

---

<div class="post-metadata">

**Author:** ![GordonBrune](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/gordonbrune/32/4752_2.png) [@GordonBrune](https://forum.code.org/u/GordonBrune)\
**Post date:** [November 11, 2021, 12:22pm UTC](https://forum.code.org/t/touch-color-code/35397/3 "2021-11-11T12:22:36Z")

</div>

The student is creating a maze as a background and has an exit door. He’ll create a sprite with the same color as the exit and use the code for touching a sprite. He was just wondering if there was a touch color command.

---

<div class="post-metadata">

**Author:** ![mwood](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/mwood/32/4941_2.png) [@mwood](https://forum.code.org/u/mwood)\
**Post date:** [November 11, 2021, 3:01pm UTC](https://forum.code.org/t/touch-color-code/35397/4 "2021-11-11T15:01:42Z")

</div>

@GordonBrune,

That’s probably the easiest workaround. I know that Scratch has a color sensing block, but that same thing doesn’t exist in Game Lab.

Mike
