I haven't worked on my game much, but now that I'm back in it, here's the code, the enemy inside of the "fence" that it's supposed to contain it. This one actually works for a couple seconds before getting stuck in the fence somehow, which isn't even solid. Some of the other enemies don't even get stuck like this, they just ignore the fence entirely