This is a hard question to answer
It Depends on how the organizer setup the event. There is many options to choose like: see all riders, see only event riders, see only category riders.
Normally, when you’re in an event you only see other riders who are in that event. And not other riders free-riding in that world or doing other events in that world.
Similarly, when you’re not in an event (e.g. you are free riding), then you won’t see riders who are doing events in the same place.
That’s a generalisation, but it’s how things usually (but not always) work.