Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Camera scroll and delay help
- RaccooDev
-
15 posts
Camera scroll and delay help
How do I make my camera scroll and give it like a 0.5 second delay as the player moves for it to catch up?
Last edited by RaccooDev (Oct. 15, 2025 21:35:52)
- Ranger_07
-
100+ posts
Camera scroll and delay help
First of all, it would be helpful if you provided a link to a shared version of whatever project you are working on that requires this feature, so anyone who tries to help has the full information as to where it's at! 
Secondly, if you already have a “standard” scrolling script implemented, people will typically do this instead of the just setting the camera to the target:

Secondly, if you already have a “standard” scrolling script implemented, people will typically do this instead of the just setting the camera to the target:
change [CAM X v] by (((TARGET X) - (CAM X)) / (4)) //using bigger numbers instead of the 4 will make it delay longer; just make sure you don't use a number smaller than 1
change [CAM Y v] by (((TARGET Y) - (CAM Y)) / (4))
- Discussion Forums
- » Help with Scripts
-
» Camera scroll and delay help