# Como fazer o inimigo atirar no player?

**URL:** <https://forum.makecode.com/t/como-fazer-o-inimigo-atirar-no-player/40028>\
**Category:** Collaboration\
**Created:** [October 27, 2025, 5:58pm UTC](https://forum.makecode.com/t/como-fazer-o-inimigo-atirar-no-player/40028 "2025-10-27T17:58:18Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Danny\_Devention](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/danny_devention/32/30134_2.png) [@Danny\_Devention](https://forum.makecode.com/u/Danny_Devention)\
**Post date:** [October 28, 2025, 2:18am UTC](https://forum.makecode.com/t/como-fazer-o-inimigo-atirar-no-player/40028/3 "2025-10-28T02:18:08Z")

</div>

Olá @JeffersonHidekiY A extensão abaixo pode te ajudar com isso. Para usá-la, você precisa criar um novo projeto no site do Makecode, clicar em extensões e inserir isso lá.

jwunderl/arcade-sprite-util

Aqui está um exemplo de como usá-lo. Abra o link e clique em editar projeto para ver como funciona.

> [@How to make enemy projectiles shoot in the direction of the player?](https://forum.makecode.com/t/how-to-make-enemy-projectiles-shoot-in-the-direction-of-the-player/30087/3):
>
> [https://arcade.makecode.com/S15642-33205-19670-99703](https://arcade.makecode.com/S15642-33205-19670-99703)

---

_[View the full topic](https://forum.makecode.com/t/como-fazer-o-inimigo-atirar-no-player/40028)._
