# Collision Bug (I think)

**URL:** <https://forum.makecode.com/t/collision-bug-i-think/5661>\
**Category:** Help\
**Created:** [January 20, 2021, 9:05pm UTC](https://forum.makecode.com/t/collision-bug-i-think/5661 "2021-01-20T21:05:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Agent\_14](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/agent_14/32/17567_2.png) [@Agent\_14](https://forum.makecode.com/u/Agent_14)\
**Post date:** [January 20, 2021, 9:05pm UTC](https://forum.makecode.com/t/collision-bug-i-think/5661/1 "2021-01-20T21:05:49Z")

</div>

I have seen some games, and apparently collisions won’t be detected unless both sprites are on screen.

---

<div class="post-metadata">

**Author:** ![UnsignedArduino](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/unsignedarduino/32/592_2.png) [@UnsignedArduino](https://forum.makecode.com/u/UnsignedArduino)\
**Post date:** [January 20, 2021, 10:44pm UTC](https://forum.makecode.com/t/collision-bug-i-think/5661/2 "2021-01-20T22:44:35Z")

</div>

(code) Examples?

---

<div class="post-metadata">

**Author:** ![Agent\_14](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/agent_14/32/17567_2.png) [@Agent\_14](https://forum.makecode.com/u/Agent_14)\
**Post date:** [January 20, 2021, 11:24pm UTC](https://forum.makecode.com/t/collision-bug-i-think/5661/3 "2021-01-20T23:24:02Z")

</div>

Every game. Try [Tiny Wizards](https://forum.makecode.com/t/tiny-wizards/2263) or [Dragon battle](https://forum.makecode.com/t/dragon-battle/5642).

---

<div class="post-metadata">

**Author:** ![jwunderl](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/jwunderl/32/5308_2.png) [@jwunderl](https://forum.makecode.com/u/jwunderl)\
**Post date:** [January 20, 2021, 11:25pm UTC](https://forum.makecode.com/t/collision-bug-i-think/5661/4 "2021-01-20T23:25:57Z")

</div>

I don’t know of any bug like this one, unless you have a particular example; here’s a quick test, just move to the right to get to the duck off screen

> **[Untitled](https://arcade.makecode.com/97389-32463-33266-98423)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

Are you possibly seeing cases where auto destroy is turned on and the sprite is getting destroyed before any collision? e.g. you have a projectile firing to the right, as soon as that isn’t within the screen anymore it’ll get destroyed due to that flag being set ‘on’ by default for projectiles.
