# CSS2DRenderer with morphTargets - is this possible?

**URL:** <https://discourse.threejs.org/t/css2drenderer-with-morphtargets-is-this-possible/16957>\
**Category:** Questions\
**Tags:** points\
**Created:** [July 9, 2020, 7:03pm UTC](https://discourse.threejs.org/t/css2drenderer-with-morphtargets-is-this-possible/16957 "2020-07-09T19:03:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![shashank2104](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/shashank2104/32/14365_2.png) [@shashank2104](https://discourse.threejs.org/u/shashank2104)\
**Post date:** [July 9, 2020, 7:03pm UTC](https://discourse.threejs.org/t/css2drenderer-with-morphtargets-is-this-possible/16957/1 "2020-07-09T19:03:10Z")

</div>

I’m using CSS2DRenderer to render labels above Points in an example here which works great (thanks to this [answer](https://discourse.threejs.org/t/attaching-text-to-points-as-annotations-which-animate/16943)).

[https://jsfiddle.net/shashank2104/9dc5eq8o/5/](https://jsfiddle.net/shashank2104/9dc5eq8o/5/)

But now if the model has morphTargets which are animated using THREE.AnimationMixer, is there a way these labels animate along with the vertices update? And as the AnimationMixer’s update function is called in the render function, I don’t see any way to notice the current vertices of the Geometry that are being rendered as it looks like the AnimationTracks take care of that stuff.

If there’s any example, I’d appreciate if I could get a reference to the link and I can look at the code. Thanks.

---

<div class="post-metadata">

**Author:** ![shashank2104](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/shashank2104/32/14365_2.png) [@shashank2104](https://discourse.threejs.org/u/shashank2104)\
**Post date:** [July 9, 2020, 9:23pm UTC](https://discourse.threejs.org/t/css2drenderer-with-morphtargets-is-this-possible/16957/2 "2020-07-09T21:23:15Z")

</div>

I got this working.

1. Get the active morph target based on the morphTargetInfluences

2. Loop over the vertices and accordingly positon the labels:

I’ll update my fiddle with a few morphTargets and this animation fix soon.

Thanks for the help @mjurczyk .
