# How to implement click event on an entity?

**URL:** <https://community.cesium.com/t/how-to-implement-click-event-on-an-entity/2447>\
**Category:** CesiumJS\
**Created:** [May 4, 2015, 5:53pm UTC](https://community.cesium.com/t/how-to-implement-click-event-on-an-entity/2447 "2015-05-04T17:53:09Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![tejas\_parekh](https://avatars.discourse-cdn.com/v4/letter/t/8e8cbc/32.png) [@tejas\_parekh](https://community.cesium.com/u/tejas_parekh)\
**Post date:** [May 4, 2015, 5:53pm UTC](https://community.cesium.com/t/how-to-implement-click-event-on-an-entity/2447/1 "2015-05-04T17:53:09Z")

</div>

Hi,

How to implement click event on an entity?

Steps we follow is as below

---

<div class="post-metadata">

**Author:** ![Hyper\_Sonic](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/hyper_sonic/32/2255_2.png) [@Hyper\_Sonic](https://community.cesium.com/u/Hyper_Sonic)\
**Post date:** [May 4, 2015, 7:54pm UTC](https://community.cesium.com/t/how-to-implement-click-event-on-an-entity/2447/2 "2015-05-04T19:54:00Z")

</div>

These reference docs should assist  
[http://cesiumjs.org/Cesium/Build/Documentation/ScreenSpaceEventHandler.html](http://cesiumjs.org/Cesium/Build/Documentation/ScreenSpaceEventHandler.html)

[http://cesiumjs.org/Cesium/Build/Documentation/Scene.html](http://cesiumjs.org/Cesium/Build/Documentation/Scene.html) pick(windowPosition)

---

<div class="post-metadata">

**Author:** ![tejas\_parekh](https://avatars.discourse-cdn.com/v4/letter/t/8e8cbc/32.png) [@tejas\_parekh](https://community.cesium.com/u/tejas_parekh)\
**Post date:** [May 8, 2015, 11:37am UTC](https://community.cesium.com/t/how-to-implement-click-event-on-an-entity/2447/3 "2015-05-08T11:37:01Z")

</div>

Thanks this worked. I had to dig down a bit but finally i was able to achieve what i wanted.

Thanks again…

Tejas

---

<div class="post-metadata">

**Author:** ![shadowing.richard](https://avatars.discourse-cdn.com/v4/letter/s/2acd7d/32.png) [@shadowing.richard](https://community.cesium.com/u/shadowing.richard)\
**Post date:** [May 11, 2016, 1:15pm UTC](https://community.cesium.com/t/how-to-implement-click-event-on-an-entity/2447/4 "2016-05-11T13:15:27Z")

</div>

Would you post your solution?

---

<div class="post-metadata">

**Author:** ![hannah](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/hannah/32/4509_2.png) [@hannah](https://community.cesium.com/u/hannah)\
**Post date:** [May 11, 2016, 3:21pm UTC](https://community.cesium.com/t/how-to-implement-click-event-on-an-entity/2447/5 "2016-05-11T15:21:47Z")

</div>

Hello,

I’m not sure exactly what you’re looking for, but have you seen this demo? [http://cesiumjs.org/Cesium/Apps/Sandcastle/index.html?src=Picking.html&label=Showcases](http://cesiumjs.org/Cesium/Apps/Sandcastle/index.html?src=Picking.html&label=Showcases)

It shows how to use a ScreenSpaceEventHandler to handle clicking on the globe or clicking on entities.

Best,

Hannah
