A medical robotic system that includes a robotically controlled surgical instrument. The system includes a constraint controller that constrains the movement of the instrument based on a predetermined parameter. The parameter may be a surgical space, wherein the instrument cannot be moved into, or alternatively cannot be moved out of, the space. The surgically constrained spaced may be defined through a telestrator screen that allows a surgeon to point and click the boundaries of the space.