# Attaching text to 3d Objects

**URL:** <https://forum.babylonjs.com/t/attaching-text-to-3d-objects/25034>\
**Category:** Questions\
**Created:** [November 5, 2021, 8:40pm UTC](https://forum.babylonjs.com/t/attaching-text-to-3d-objects/25034 "2021-11-05T20:40:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jgonzosan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/jgonzosan/32/10007_2.png) [@jgonzosan](https://forum.babylonjs.com/u/jgonzosan)\
**Post date:** [November 5, 2021, 8:40pm UTC](https://forum.babylonjs.com/t/attaching-text-to-3d-objects/25034/1 "2021-11-05T20:40:31Z")

</div>

I’m working on a 3d scene that will have museum-like sections and there will be text displayed on the walls. I wanted to know what the ideal solution would be for something like this? I know how to create the UI using an “advanced dynamic texture” but that only works for 2D UI as far as I know.

The 3D UI examples seem to all utilize a Button3D for attaching text to them. I suppose I could disable the button functionality and remove the background, although this seems like a lot of unnecessary work just to get the text to appear on the 3D object. So for the 3D UI is there a simpler way of using text within a 3D UI system? Is there a better way to approach this? Thanks.

---

<div class="post-metadata">

**Author:** ![carolhmj](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/carolhmj/32/25918_2.png) [@carolhmj](https://forum.babylonjs.com/u/carolhmj)\
**Post date:** [November 5, 2021, 8:53pm UTC](https://forum.babylonjs.com/t/attaching-text-to-3d-objects/25034/2 "2021-11-05T20:53:02Z")

</div>

Hello! You can connect the texture to a plane on the 3D space, like this playground example:  
[Texture mode Babylon.GUI | Babylon.js Playground (babylonjs.com)](https://playground.babylonjs.com/#ZI9AK7#1)

This doesn’t require a button, you can use a TextBlock to only display text, as example: [The Babylon GUI | Babylon.js Documentation (babylonjs.com)](https://doc.babylonjs.com/divingDeeper/gui/gui#textblock)

Here’s the first playground, but using the TextBlock: [Texture mode Babylon.GUI | Babylon.js Playground (babylonjs.com)](https://playground.babylonjs.com/#ZI9AK7#1811)

---

<div class="post-metadata">

**Author:** ![jgonzosan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/jgonzosan/32/10007_2.png) [@jgonzosan](https://forum.babylonjs.com/u/jgonzosan)\
**Post date:** [November 5, 2021, 9:12pm UTC](https://forum.babylonjs.com/t/attaching-text-to-3d-objects/25034/3 "2021-11-05T21:12:24Z")

</div>

Thank you! I figured it was relatively simple I just wasn’t aware of the process, much appreciated. Marking solution.
