I can offer some advice on how to handle such situations in real life:
Non-verbal cues: If someone is talking too close to you, you can subtly use non-verbal cues to signal your discomfort. You can take a small step back, adjust your body position, or create some distance by moving slightly to the side.
Maintain personal space: Politely maintain your personal space by standing or sitting at a comfortable distance. Generally, people expect a personal space bubble, so they should respect that boundary.
Use verbal communication: If you feel comfortable, you can politely address the issue by saying something like, "Excuse me, could we maintain a bit more distance while talking?" or "I prefer a little more space, thanks."
Stay calm and polite: If you choose to say something, remember to remain calm and polite. Avoid being confrontational or aggressive, as it may escalate the situation.
Respect cultural differences: Keep in mind that personal space preferences can vary among different cultures. What might be considered appropriate distance in one culture may not be the same in another.
Consider the context: Sometimes, people might unknowingly invade personal space due to the environment or situation, such as crowded places or noisy settings. In such cases, a gentle reminder might be sufficient.
Remember, setting and maintaining personal boundaries is essential, and communicating your needs politely can help ensure a comfortable and respectful conversation for both parties involved.