# Projectile Cooldown

**URL:** <https://forum.makecode.com/t/projectile-cooldown/6663>\
**Category:** Help\
**Created:** [March 9, 2021, 10:44pm UTC](https://forum.makecode.com/t/projectile-cooldown/6663 "2021-03-09T22:44:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![brandodon](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/brandodon/32/3625_2.png) [@brandodon](https://forum.makecode.com/u/brandodon)\
**Post date:** [March 9, 2021, 10:44pm UTC](https://forum.makecode.com/t/projectile-cooldown/6663/1 "2021-03-09T22:44:28Z")

</div>

I need help making a cooldown for projectiles in my game

> **[Ghost Breakout](https://arcade.makecode.com/44866-05911-97852-60128)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<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:** [March 10, 2021, 4:15pm UTC](https://forum.makecode.com/t/projectile-cooldown/6663/2 "2021-03-10T16:15:02Z")

</div>

First, you need to use otherSprite instead of my enemy from the collision check. Next, I solved the projectile cooldown by adding a variable, and extension, and a true false statement.

> **[Ghost Breakout](https://arcade.makecode.com/77330-89667-00480-23654)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<div class="post-metadata">

**Author:** ![brandodon](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/brandodon/32/3625_2.png) [@brandodon](https://forum.makecode.com/u/brandodon)\
**Post date:** [March 10, 2021, 9:32pm UTC](https://forum.makecode.com/t/projectile-cooldown/6663/3 "2021-03-10T21:32:55Z")

</div>

Thanks! That makes so much sense!
