# preRender event subscription

**URL:** <https://community.cesium.com/t/prerender-event-subscription/13218>\
**Category:** CesiumJS\
**Created:** [April 17, 2021, 1:19am UTC](https://community.cesium.com/t/prerender-event-subscription/13218 "2021-04-17T01:19:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lvignals](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/lvignals/32/4759_2.png) [@lvignals](https://community.cesium.com/u/lvignals)\
**Post date:** [April 17, 2021, 1:19am UTC](https://community.cesium.com/t/prerender-event-subscription/13218/1 "2021-04-17T01:19:42Z")

</div>

I am looking for an example of preRender event subscription to generate a custom animation of a 3D-Model Entity?

I read on the community that it should be the preferred method compared to implementing a custom render loop but there is no example to go along with that advice…

Logic/code driven animation examples are almost non-existant in Cesium by comparison with Three.js and Babylon.js, could anyone please prove wrong on that 🙂 ?

Thank you!
