[Question] Z-Axis Limitation ?

I was wondering if a limitation can be set where the player cannot go higher

then specified height. The point to all this is because

I would like to integrate flying mounts into battlegrounds.