Thanks for your reply! Yeah, I just found out that there was a collider on an invisible object which is causing the invisible barrier. I'm going to keep working on it an making the enemy attack, and add dialogue to teach you the controls better.