# [entity_appears_in_viewport](entity_appears_in_viewport.hpp)

```cpp
bool entity_appears_in_viewport(const entt::registry & r, entt::entity entity, entt::entity viewport) noexcept;
```

Returns whether `entity` should appear in `viewport`.
