# Regarding Polygon height and extruded height

**URL:** <https://community.cesium.com/t/regarding-polygon-height-and-extruded-height/3794>\
**Category:** CesiumJS\
**Created:** [March 2, 2016, 12:29pm UTC](https://community.cesium.com/t/regarding-polygon-height-and-extruded-height/3794 "2016-03-02T12:29:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Venkat\_Gowtham\_Kumar](https://avatars.discourse-cdn.com/v4/letter/v/839c29/32.png) [@Venkat\_Gowtham\_Kumar](https://community.cesium.com/u/Venkat_Gowtham_Kumar)\
**Post date:** [March 2, 2016, 12:29pm UTC](https://community.cesium.com/t/regarding-polygon-height-and-extruded-height/3794/1 "2016-03-02T12:29:18Z")

</div>

Hi,

When I give height and extrude height same value it’s not working. Please find the attached sandcastle screenshots. Could you please let me know whether it’s bug or not?

Thanks,

Gowtham.

 ![polygon1.PNG](https://global.discourse-cdn.com/cesium/original/1X/06d759f7e399391fa69eeda33e4de8a9995ff5e8.png)

 ![polygon_same.PNG](https://global.discourse-cdn.com/cesium/original/1X/11568f13be0a40db06d6c49fd66f94442e64c343.png)

---

<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:** [March 2, 2016, 3:36pm UTC](https://community.cesium.com/t/regarding-polygon-height-and-extruded-height/3794/2 "2016-03-02T15:36:14Z")

</div>

Hello,

Right now, each height is defined as relative to the earth. So if you want an extruded polygon with height x, you have to use

height: x,

extrudedHeight: 0.0

We have an issue written up to make the height parameters more intuitive. We eventually want to change it to work like you expected.

Best,

Hannah
