# Problem with my collisions need help

**URL:** <https://discourse.processing.org/t/problem-with-my-collisions-need-help/6852>\
**Category:** Coding Questions\
**Created:** [December 23, 2018, 3:35pm UTC](https://discourse.processing.org/t/problem-with-my-collisions-need-help/6852 "2018-12-23T15:35:58Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![kll](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kll/32/964_2.png) [@kll](https://discourse.processing.org/u/kll)\
**Post date:** [December 24, 2018, 3:05pm UTC](https://discourse.processing.org/t/problem-with-my-collisions-need-help/6852/7 "2018-12-24T15:05:06Z")

</div>

pls.  
-a- do not show your email here!!  
-b- pls post your code using the code formatter

> \</\>

you changed get(x,y) to labyFond.get(x,y)  
why? that i can not test here

pls, as i can not follow better describe what is not working?  
its not moving at all OR it walks through other colors as WHITE?

also take a look at that example i just made:

> [@Making a labyrinth](https://discourse.processing.org/t/neep-help-for-a-labyrinth/6869/2):
>
> there is some ?rules? about the naming of variables, and you just hit it! better: class Balle {.... Balle b1; if you want go with the color check ( instead object collision ) need the color check inside your class ( instead the window size limit check) and should do just before you walk. there was a small mistake, you can not use width and height in the variable declaration / prior to setup size() so b1 position was wrong. for example: Balle b1; color labcol = color(200, 0, 0); …

---

_[View the full topic](https://discourse.processing.org/t/problem-with-my-collisions-need-help/6852)._
