Is the slant height in a rectangular or square pyramid The height of the pyramid from the apex straight down to the middle of the base of the pyramid

The slant height in a rectangular or square pyramid is the height of the pyramid from the apex to the midpoint of one of the sides of the base. This is different from the vertical height which is the height from the apex straight down to the base, perpendicular to the base.