Istouching order?

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??

@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 if you want to see it.


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

1 Like