# Move Sprite along the surface of 3D model and also snapping

**URL:** <https://forum.techsoft3d.com/t/move-sprite-along-the-surface-of-3d-model-and-also-snapping/3957>\
**Category:** HOOPS Visualize Web\
**Tags:** code\
**Created:** [August 13, 2024, 4:15pm UTC](https://forum.techsoft3d.com/t/move-sprite-along-the-surface-of-3d-model-and-also-snapping/3957 "2024-08-13T16:15:23Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![tino](https://avatars.discourse-cdn.com/v4/letter/t/9dc877/32.png) [@tino](https://forum.techsoft3d.com/u/tino)\
**Post date:** [August 14, 2024, 3:27pm UTC](https://forum.techsoft3d.com/t/move-sprite-along-the-surface-of-3d-model-and-also-snapping/3957/4 "2024-08-14T15:27:15Z")

</div>

@raja.r,

After taking a closer look at your code snippet, it has more similarities to one of the examples included in the Communicator package - that being the _3D Text Insertion_ example - than to the Sprite Manager class. To view the _3D Text Insertion_ example, please do the following:

- Launch the server by double-clicking _start\_server.bat_ found in the directory _HOOPS\_Communicator\_2024.5.0\quick\_start_
- Load the example in the Web Viewer by clicking the URL:  
[http://localhost:11180/text\_insertion.html?viewer=csr](http://localhost:11180/text_insertion.html?viewer=csr)

As the example demonstrates, the textbox can be selected and moved in 3D space. The code is provided in _text\_insertion.js_ found in _HOOPS\_Communicator\_2024.5.0\web\_viewer\examples\scripts\examples_

Thanks,  
Tino

---

_[View the full topic](https://forum.techsoft3d.com/t/move-sprite-along-the-surface-of-3d-model-and-also-snapping/3957)._
