Need help to create walls!

Hey, I’m working on a mode and I need players to stay in a area, Is there a way to create “walls” or invisible barriers that damage or kill the player if they cross it?

Especially the collision detection might be what you want.

check out this discussion :
https://us.forums.blizzard.com/en/overwatch/t/how-to-make-a-straight-wall