# How to animate Primitive's geometry

**URL:** https://community.cesium.com/t/how-to-animate-primitives-geometry/7726
**Category:** CesiumJS
**Created:** [November 25, 2018, 2:30pm UTC](https://community.cesium.com/t/how-to-animate-primitives-geometry/7726 "2018-11-25T14:30:26Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![a1941189375](https://avatars.discourse-cdn.com/v4/letter/a/958977/32.png) [@a1941189375](https://community.cesium.com/u/a1941189375)
#### Post date: [November 25, 2018, 2:30pm UTC](https://community.cesium.com/t/how-to-animate-primitives-geometry/7726/1 "2018-11-25T14:30:26Z")

</div>

How to animate Primitive's geometry, provided that the geometry already has a custom property value for appearance.material, please help me.

---

<div class="post-metadata">

### Author: ![omar](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/omar/32/1999_2.png) [@omar](https://community.cesium.com/u/omar)
#### Post date: [November 26, 2018, 3:33pm UTC](https://community.cesium.com/t/how-to-animate-primitives-geometry/7726/2 "2018-11-26T15:33:17Z")

</div>

See my answer here: [https://groups.google.com/d/msg/cesium-dev/eKKMqhQH5LA/QjTWH1QoAAAJ](https://groups.google.com/d/msg/cesium-dev/eKKMqhQH5LA/QjTWH1QoAAAJ)

Feel free to follow up there if that doesn’t work for you. Specifically, you’ll need to define a custom vertex shader to move the vertices up and down (if you’re going for an animated wave effect).
