# Adding bouncing balls features - problems with the evil circle methods

**URL:** <https://discourse.mozilla.org/t/adding-bouncing-balls-features-problems-with-the-evil-circle-methods/82062>\
**Category:** Learn\
**Created:** [June 23, 2021, 10:40am UTC](https://discourse.mozilla.org/t/adding-bouncing-balls-features-problems-with-the-evil-circle-methods/82062 "2021-06-23T10:40:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yolo\_Bas](https://avatars.discourse-cdn.com/v4/letter/y/a9adbd/32.png) [@Yolo\_Bas](https://discourse.mozilla.org/u/Yolo_Bas)\
**Post date:** [June 23, 2021, 10:40am UTC](https://discourse.mozilla.org/t/adding-bouncing-balls-features-problems-with-the-evil-circle-methods/82062/1 "2021-06-23T10:40:23Z")

</div>

The evil circle is constantly moving without pressing any key.  
The other circles disappear very fast without even touching the evil circle.

link to my work: [https://codepen.io/Beauregard/pen/vYxwvZL](https://codepen.io/Beauregard/pen/vYxwvZL)

link to the task: [https://developer.mozilla.org/en-US/docs/Learn/JavaScript/Objects/Adding\_bouncing\_balls\_features](https://developer.mozilla.org/en-US/docs/Learn/JavaScript/Objects/Adding_bouncing_balls_features)

---

<div class="post-metadata">

**Author:** ![justsomeone](https://sea1.discourse-cdn.com/flex001/user_avatar/discourse.mozilla.org/justsomeone/32/67787_2.png) [@justsomeone](https://discourse.mozilla.org/u/justsomeone)\
**Post date:** [June 24, 2021, 7:50pm UTC](https://discourse.mozilla.org/t/adding-bouncing-balls-features-problems-with-the-evil-circle-methods/82062/2 "2021-06-24T19:50:12Z")

</div>

Hello @Yolo_Bas

i think you should start from here [https://developer.mozilla.org/en-US/docs/Learn/JavaScript/Objects/Adding\_bouncing\_balls\_features#starting\_point](https://developer.mozilla.org/en-US/docs/Learn/JavaScript/Objects/Adding_bouncing_balls_features#starting_point)

cause when i remove all evilcircle code it only show freezed ball then add single function at time till you make it work cause that would be easier to debug in case of issue
