# Istouching order?

**URL:** <https://forum.code.org/t/istouching-order/36558>\
**Category:** CS Discoveries\
**Tags:** csd-unit-3\
**Created:** [June 9, 2022, 11:44am UTC](https://forum.code.org/t/istouching-order/36558 "2022-06-09T11:44:41Z")\
**Posts on this page:** 3\
**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:** [June 9, 2022, 11:44am UTC](https://forum.code.org/t/istouching-order/36558/1 "2022-06-09T11:44:41Z")

</div>

Is there a general rule about which object\sprite should go first when using “istouching”? Student is working on a bunny catching coin game (link below) and the score will work when it’s coded as “coin is touching bunny” but not when “bunny is touching coin.” Why would this be??

> **[Check out what I made](https://studio.code.org/projects/gamelab/j_npUzluGqUtiEZaDO_peZGzfd2h0hwBweeSPK8KmAs)**
>
> I wrote the code myself with Code.org

---

<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:** [June 9, 2022, 3:23pm UTC](https://forum.code.org/t/istouching-order/36558/2 "2022-06-09T15:23:49Z")

</div>

@GordonBrune… hmmm … I remixed it and changed it to bunny.isTouching(coin) and the score is still working. I don’t think it matters the order, but [here’s my remix](https://studio.code.org/projects/gamelab/Et8GwjWWRupzVYJFSD891kturFsCaa_elW-9s0T9Wqc/edit) if you want to see it.

Mike

---

<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:** [June 9, 2022, 4:57pm UTC](https://forum.code.org/t/istouching-order/36558/3 "2022-06-09T16:57:10Z")

</div>

Bizarre! It only worked when we did coin touching bunny. Must have been something else…!?
