# How to change the color of two objects (or parts of them) gltf&

**URL:** <https://discourse.threejs.org/t/how-to-change-the-color-of-two-objects-or-parts-of-them-gltf/33093>\
**Category:** Questions\
**Tags:** gltf\
**Created:** [December 28, 2021, 6:34pm UTC](https://discourse.threejs.org/t/how-to-change-the-color-of-two-objects-or-parts-of-them-gltf/33093 "2021-12-28T18:34:24Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![donmccurdy](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/donmccurdy/32/33209_2.png) [@donmccurdy](https://discourse.threejs.org/u/donmccurdy)\
**Post date:** [December 28, 2021, 11:36pm UTC](https://discourse.threejs.org/t/how-to-change-the-color-of-two-objects-or-parts-of-them-gltf/33093/4 "2021-12-28T23:36:42Z")

</div>

three.js code (see [Acess GLTF Values - #6 by donmccurdy](https://discourse.threejs.org/t/acess-gltf-values/33092/6)) can change as many materials on as many meshes as you need. Figuring out which alternative materials go to which meshes would probably need to be customized for your application.

---

_[View the full topic](https://discourse.threejs.org/t/how-to-change-the-color-of-two-objects-or-parts-of-them-gltf/33093)._
