How to get the the coordinate of a KML point?

I have a project which load the Cesium map with several KML files. Some of them are KML point. Right now, I have to develop a method to answer the event when click on the KML point.
Before this we had Google Earth and we have code like below:
......, 'dblclick', myEventHandler);
var myEventHandler =function(event) {
  if(event.getTarget().getGeometry().getType() == "KmlPoint"){
    var target = event.getTarget();
    var description = target.getDescription();
    var objectId = target.getId();
    document.getElementById("c_ground_amsl_elevation").value = event.getAltitude()*3.2808379;

We used this event.getAltitude() to get the value we need. Is there any relevant function we could use in Cesium?


Here is an event handler that will get the Cartesian3 position of a point on left click and writes it to the console.

var handler = new Cesium.ScreenSpaceEventHandler(viewer.scene.canvas);

handler.setInputAction(function(click) {

var pickedObject = viewer.scene.pick(click.position);

if (Cesium.defined(pickedObject)) {



}, Cesium.ScreenSpaceEventType.LEFT_CLICK);


Hope this helps!