# Scale sprite according to GLB file

**URL:** <https://discourse.threejs.org/t/scale-sprite-according-to-glb-file/36987>\
**Category:** Questions\
**Tags:** sprites, text, threejs\
**Created:** [April 12, 2022, 1:44pm UTC](https://discourse.threejs.org/t/scale-sprite-according-to-glb-file/36987 "2022-04-12T13:44:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gundeep\_Singh](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/gundeep_singh/32/25485_2.png) [@Gundeep\_Singh](https://discourse.threejs.org/u/Gundeep_Singh)\
**Post date:** [April 12, 2022, 1:44pm UTC](https://discourse.threejs.org/t/scale-sprite-according-to-glb-file/36987/1 "2022-04-12T13:44:58Z")

</div>

Hello guys,  
How is it possible to scale sprite size according GLB file for example I have 2 GLB files one file have

 ![1](https://canada1.discourse-cdn.com/flex035/uploads/threejs/original/3X/8/b/8b3b49231ddcca5c34558f6753a37b2beaf5dea6.jpeg)  
 ![2](https://canada1.discourse-cdn.com/flex035/uploads/threejs/original/3X/f/e/fe3cdd032c7bafc491c3af7a6c561be4b623258b.jpeg)  
size approx. 0.33 meters and second file have size 20.05 meters when we upload GLB using threejs, I want scale of sprite will also change according to that particular size so it will be visible in both and looks good too. See 1.jpg have small size but I can’t able to scale according to that and 2.jpg have large size in meters so sprite looks good. I want scale will adjust automatically according to glb size so I don’t need to manual values.  
Thanks
