The slant height is the height that can be found using the height of the pyramid and the half length from the center of one of the sides to the center of the pyramid, this would be the hypotenuse.
The red line in this case represents the height of the pyramid.