I’m watching a tutorial on how to program an enemy in (i have set up the tilemap and player just fine) i have copied everything exactly as shown, but when starting the game the enemy slides down and off the map immediately after starting like theres no ground there, but can walk around as the player and explore the environment just fine.
Check the collision masks set on the enemy. They have to match the layers on the ground you want them to not fall through.