# Mario goomba like enemies

**URL:** <https://forum.makecode.com/t/mario-goomba-like-enemies/29183>\
**Category:** Help\
**Created:** [June 9, 2024, 4:28am UTC](https://forum.makecode.com/t/mario-goomba-like-enemies/29183 "2024-06-09T04:28:29Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![richard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/richard/32/5417_2.png) [@richard](https://forum.makecode.com/u/richard)\
**Post date:** [June 10, 2024, 9:07pm UTC](https://forum.makecode.com/t/mario-goomba-like-enemies/29183/4 "2024-06-10T21:07:58Z")

</div>

@Harmanuary check out my post here:

> [@A goomba enemy](https://forum.makecode.com/t/a-goomba-enemy/28562/3):
>
> @mcodes and if you do decide to make your goombas move, that’s easy too. The simplest method is to use the “bounce on wall” flag for sprites: However, this isn’t true “goomba” behavior because it won’t work for sprites that have gravity. In mario, goombas fall down when they walk off a ledge. To copy that behavior, we can use an “on hit wall” event instead: There are comments in both those example that explain the code!

---

_[View the full topic](https://forum.makecode.com/t/mario-goomba-like-enemies/29183)._
