# How to check if a coordinate is visible by the camera

**URL:** <https://community.cesium.com/t/how-to-check-if-a-coordinate-is-visible-by-the-camera/5901>\
**Category:** CesiumJS\
**Created:** [August 2, 2017, 6:45pm UTC](https://community.cesium.com/t/how-to-check-if-a-coordinate-is-visible-by-the-camera/5901 "2017-08-02T18:45:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![david\_limkys](https://avatars.discourse-cdn.com/v4/letter/d/e68b1a/32.png) [@david\_limkys](https://community.cesium.com/u/david_limkys)\
**Post date:** [August 2, 2017, 6:45pm UTC](https://community.cesium.com/t/how-to-check-if-a-coordinate-is-visible-by-the-camera/5901/1 "2017-08-02T18:45:56Z")

</div>

**Hello!  
I’m trying to check if a specific coordinate is currently visible by the camera, I need this inorder to hide something in the site UI (html) so for example, when I can no longer see a person located at (lon,lat) I need to do something.**

**Is there a way via cesium camera or cesium API to check if a given lon lat is currently on screen ? ?**

---

<div class="post-metadata">

**Author:** ![Rachel\_Hwang](https://avatars.discourse-cdn.com/v4/letter/r/d78d45/32.png) [@Rachel\_Hwang](https://community.cesium.com/u/Rachel_Hwang)\
**Post date:** [August 2, 2017, 7:03pm UTC](https://community.cesium.com/t/how-to-check-if-a-coordinate-is-visible-by-the-camera/5901/2 "2017-08-02T19:03:09Z")

</div>

Hi David,

Yep! There are some nice code examples in this thread for visibility testing: [https://groups.google.com/forum/?hl=en#!msg/cesium-dev/ZSGJAUqnGR0/\_lPChfGTAQAJ;context-place=forum/cesium-dev](https://groups.google.com/forum/?hl=en#!msg/cesium-dev/ZSGJAUqnGR0/_lPChfGTAQAJ;context-place=forum/cesium-dev)

These check for a Cartesian3 position, but you can easily convert to/from lat/long.

Hope that helps!

- Rachel
