Restrict movement within the volume

to enter the area but to block two directions. namely. that when traversing the area he can only move forward and backward but not up and down