Block view on point and click adventure.

Hi! I’m trying to do a point and click adventure game and I want to know how to block the camera on a top/down template to only view one room even if the character moves.

Thank you