Thanks, Doug!

Well, it's good to know the truth
I will use invisible sprites for simple barriers. They're less work than creating map entities.