Do you mean that *ese* is used when both conditions are true or just one?
“ese, esa, esosand esas are translated as that and thoseand they all refer to:1. objects/people that are near the listener (not the speaker)
2. objects/people that are far from the speaker (medium distance)”