# Scrolling a gltf object with the scroll to a certain position and lock it there

**URL:** <https://discourse.threejs.org/t/scrolling-a-gltf-object-with-the-scroll-to-a-certain-position-and-lock-it-there/59690>\
**Category:** Questions\
**Created:** [December 27, 2023, 2:53pm UTC](https://discourse.threejs.org/t/scrolling-a-gltf-object-with-the-scroll-to-a-certain-position-and-lock-it-there/59690 "2023-12-27T14:53:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ricardoroukos](https://avatars.discourse-cdn.com/v4/letter/r/8dc957/32.png) [@ricardoroukos](https://discourse.threejs.org/u/ricardoroukos)\
**Post date:** [December 27, 2023, 2:53pm UTC](https://discourse.threejs.org/t/scrolling-a-gltf-object-with-the-scroll-to-a-certain-position-and-lock-it-there/59690/1 "2023-12-27T14:53:08Z")

</div>

I’m trying to do an animation for a glass of water so that when scrolling down i have the glass scroll down with the page until it reaches a certain position that i chose… then i want this gltf model to stay where its at as i continue to scroll down … as if the camera of the threejs renderer is going down with me … please help
