How do I make a barrier that players cannot trespass?

Will it block also Sombra’s translocator for example?


More info about me and my game mods you can find here.