# How to raise the rectangle extrudedHeight

**URL:** <https://community.cesium.com/t/how-to-raise-the-rectangle-extrudedheight/14136>\
**Category:** CesiumJS\
**Created:** [June 20, 2021, 5:15am UTC](https://community.cesium.com/t/how-to-raise-the-rectangle-extrudedheight/14136 "2021-06-20T05:15:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mirror-Yu](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/mirror-yu/32/5301_2.png) [@Mirror-Yu](https://community.cesium.com/u/Mirror-Yu)\
**Post date:** [June 20, 2021, 5:15am UTC](https://community.cesium.com/t/how-to-raise-the-rectangle-extrudedheight/14136/1 "2021-06-20T05:15:18Z")

</div>

How to raise the rectangle extrudedHeight？I want to pull up the height by moving the points，but it’s always inaccurate.Can someone tell me how to solve it, and it would be nice if I could show the code.Thank you very much！  
 ![image](https://global.discourse-cdn.com/cesium/original/3X/c/3/c341b1fc39a1a4d27e75d353f3988f2c2f708df7.jpeg)

---

<div class="post-metadata">

**Author:** ![sam.rothstein](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/sam.rothstein/32/6584_2.png) [@sam.rothstein](https://community.cesium.com/u/sam.rothstein)\
**Post date:** [June 20, 2021, 4:23pm UTC](https://community.cesium.com/t/how-to-raise-the-rectangle-extrudedheight/14136/2 "2021-06-20T16:23:08Z")

</div>

@Mirror-Yu

You can always share code by sending a [sandcastle](https://sandcastle.cesium.com/) demo. You can also add code snippets to posts in the community forum.

Based on the information that you provided, `extrudedHeight` is the correct tool to use for your application. Here is a sandcastle demo that uses `extrudedHeight` to extrude a polygon based upon a numeric value. See the code related to `Custom styling`.

> **[Cesium Sandcastle](https://sandcastle.cesium.com/?src=GeoJSON%20and%20TopoJSON.html)**
>
> The Cesium Sandcastle provides an interactive environment for testing Cesium code.

In addition, we see that [`RectangleGraphics`](https://cesium.com/learn/cesiumjs/ref-doc/RectangleGraphics.html?classFilter=rectan) has the property `extrudedHeight`.

Please let me know if you have any questions or concerns.

-Sam
