the mental process of putting yourself in someone else's shoes, so you can consider how they may be thinking and how they may be feeling
Before reacting to something someone says to me at school, I should do some shoe-switching first.