# Adding absolute positioned buttons tied to a location within a glTF

**URL:** <https://discourse.threejs.org/t/adding-absolute-positioned-buttons-tied-to-a-location-within-a-gltf/38843>\
**Category:** Questions\
**Tags:** interaction\
**Created:** [June 3, 2022, 9:15pm UTC](https://discourse.threejs.org/t/adding-absolute-positioned-buttons-tied-to-a-location-within-a-gltf/38843 "2022-06-03T21:15:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![moiraleon](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/moiraleon/32/26772_2.png) [@moiraleon](https://discourse.threejs.org/u/moiraleon)\
**Post date:** [June 3, 2022, 9:15pm UTC](https://discourse.threejs.org/t/adding-absolute-positioned-buttons-tied-to-a-location-within-a-gltf/38843/1 "2022-06-03T21:15:06Z")

</div>

I am new to three.js and want to create an interactive 3D model that allows users to click on a “button” and creates a modal. I want the button to be positioned somewhere within the 3D model. For example if someone clicked on a cup that is in a house it would ask the same question when you clicked on that same object that doesn’t move. How can I solve this?

---

<div class="post-metadata">

**Author:** ![seanwasere](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/seanwasere/32/20864_2.png) [@seanwasere](https://discourse.threejs.org/u/seanwasere)\
**Post date:** [June 3, 2022, 11:08pm UTC](https://discourse.threejs.org/t/adding-absolute-positioned-buttons-tied-to-a-location-within-a-gltf/38843/2 "2022-06-03T23:08:35Z")

</div>

Here are 2 examples.  
1: [Glasses - Three.js Tutorials (sbcode.net)](https://sbcode.net/threejs/glasses/) (gltTF)  
2: [Annotations - Three.js Tutorials (sbcode.net)](https://sbcode.net/threejs/annotations/) (OBJ)  
Press the numbers in the 3d views. Start at [0]

---

<div class="post-metadata">

**Author:** ![moiraleon](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/moiraleon/32/26772_2.png) [@moiraleon](https://discourse.threejs.org/u/moiraleon)\
**Post date:** [June 6, 2022, 3:41pm UTC](https://discourse.threejs.org/t/adding-absolute-positioned-buttons-tied-to-a-location-within-a-gltf/38843/3 "2022-06-06T15:41:48Z")

</div>

Thank you so much! I’ll give this a try.
