Mario goomba like enemies

I’m trying to make enemies similar to goombas BUT they can walk off cliffs and stuff, I have the damage system down but when trying to get the multiple ones to have independent actions they wait until all of them hit a wall


here is the code
I have multiple snakes in the titlemap at once and have either 0, 1, or more mushrooms on screen at once.

use the platformer extension and make them that type of sprite. they will have gravity and then you can just make them move left and right while having gravity.

idk if im misinterpreting that but i think you are saying something about giving them gravity, but they already do if thats what you are talking about

@Harmanuary check out my post here: