In spacetime, the separation between two events is measured by the interval between the two events, which takes into account not only the spatial separation between the events, but also their temporal separation.