# Avatar manipulate by coordinates

**URL:** <https://discourse.threejs.org/t/avatar-manipulate-by-coordinates/60825>\
**Category:** Questions\
**Tags:** transform\
**Created:** [January 29, 2024, 2:47am UTC](https://discourse.threejs.org/t/avatar-manipulate-by-coordinates/60825 "2024-01-29T02:47:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bekbo01](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/bekbo01/32/44241_2.png) [@Bekbo01](https://discourse.threejs.org/u/Bekbo01)\
**Post date:** [January 29, 2024, 2:47am UTC](https://discourse.threejs.org/t/avatar-manipulate-by-coordinates/60825/1 "2024-01-29T02:47:25Z")

</div>

Hi! I have problem with manipulating with treejs avatar object.  
For example I want to that my avatar hand up his right arm.  
I’m not want to make it via mediapipe or camera connection. I want make it via coordinates that i will generate (it will be ml model that generates coordinates of pose human)  
Okay question is can i make it? is there any possiblities or suggetions?  
Thank you for answering!

---

<div class="post-metadata">

**Author:** ![mjurczyk](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/mjurczyk/32/10995_2.png) [@mjurczyk](https://discourse.threejs.org/u/mjurczyk)\
**Post date:** [January 29, 2024, 7:51am UTC](https://discourse.threejs.org/t/avatar-manipulate-by-coordinates/60825/2 "2024-01-29T07:51:08Z")

</div>

> [@Bekbo01](#):
>
> […] treejs avatar object […]

There’s no such a thing 👀

> [@Bekbo01](#):
>
> For example I want to that my avatar hand up his right arm.

You’d most likely need some kind of [inverse kinematics](https://threejs.org/examples/?q=ik#webgl_animation_skinning_ik) to create this kind of motion on the go.

---

<div class="post-metadata">

**Author:** ![Bekbo01](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/bekbo01/32/44241_2.png) [@Bekbo01](https://discourse.threejs.org/u/Bekbo01)\
**Post date:** [January 29, 2024, 8:05am UTC](https://discourse.threejs.org/t/avatar-manipulate-by-coordinates/60825/3 "2024-01-29T08:05:43Z")

</div>

> [@mjurczyk](#):
>
> There’s no such a thing

I mean loading glb object and manipulating with that

```javascript
function loadAvatar() {
                const gltfLoader = new THREE.GLTFLoader();
                gltfLoader.load('https://models.readyplayer.me/658ba388fc8bec93d06753a7.glb', (gltf) => {
                    avatar = gltf.scene;
                    avatar.scale.set(0.5, 0.5, 0.5); // Scale the avatar to fit the scene
                    scene.add(avatar);
                    animate();
                });
            }

```
