Here, I naturally interpret "in the way" as meaning "causing an obstruction". Since that doesn't make a whole lot of sense, I'm guessing you mean either "lying around the place", or, most probably, "in such a manner". In the latter case it should be "in a way".
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.