The penguin is considered to be out of school, if it finishes it's movement outside of the school.
If the penguin is able to return to the school in the same movement, the penguin is not considered to be out of school and hence, the movement is successful.