# How can sprite and mesh be grouped?

**URL:** <https://forum.babylonjs.com/t/how-can-sprite-and-mesh-be-grouped/29485>\
**Category:** Questions\
**Tags:** sprite, mesh\
**Created:** [April 18, 2022, 11:10pm UTC](https://forum.babylonjs.com/t/how-can-sprite-and-mesh-be-grouped/29485 "2022-04-18T23:10:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![favorite\_music](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/favorite_music/32/21921_2.png) [@favorite\_music](https://forum.babylonjs.com/u/favorite_music)\
**Post date:** [April 18, 2022, 11:10pm UTC](https://forum.babylonjs.com/t/how-can-sprite-and-mesh-be-grouped/29485/1 "2022-04-18T23:10:45Z")

</div>

How can sprite and mesh be grouped so that they can be manipulated at the same time?

plane.parent = sprite;  
not work

I need it for 2D games because it is much more convenient to work with sprites than with UV textures. But sometimes in 2d games you need something like video textures.

> **[Babylon.js Playground](https://playground.babylonjs.com/#LXZPJK%231452)**
>
> Babylon.js playground is a live editor for Babylon.js WebGL 3D scenes

---

<div class="post-metadata">

**Author:** ![Deltakosh](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/deltakosh/32/26635_2.png) [@Deltakosh](https://forum.babylonjs.com/u/Deltakosh)\
**Post date:** [April 19, 2022, 3:49pm UTC](https://forum.babylonjs.com/t/how-can-sprite-and-mesh-be-grouped/29485/2 "2022-04-19T15:49:16Z")

</div>

Hey! you can simply synchronize the position manually:  
[Create Plane | Babylon.js Playground (babylonjs.com)](https://playground.babylonjs.com/#LXZPJK#1454)

---

<div class="post-metadata">

**Author:** ![favorite\_music](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/favorite_music/32/21921_2.png) [@favorite\_music](https://forum.babylonjs.com/u/favorite_music)\
**Post date:** [April 20, 2022, 9:34am UTC](https://forum.babylonjs.com/t/how-can-sprite-and-mesh-be-grouped/29485/3 "2022-04-20T09:34:30Z")

</div>

And when I try to move the mouse, it unfortunately does not sync with the camera.

---

<div class="post-metadata">

**Author:** ![1593292349](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/1593292349/32/23835_2.png) [@1593292349](https://forum.babylonjs.com/u/1593292349)\
**Post date:** [April 26, 2022, 4:56am UTC](https://forum.babylonjs.com/t/how-can-sprite-and-mesh-be-grouped/29485/4 "2022-04-26T04:56:31Z")

</div>

how to add some offset to mesh
