Added hideRobot() functionality