how I can make ParallaxBackground move without a camera. ??

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By orelvis15
:warning: Old Version Published before Godot 3 was released.
:bust_in_silhouette: Reply From: CowThing

The ParallaxBackground is only updated when a camera is moved. So it requires a camera for it to scroll.

What you can do is have a separate CanvasLayer node. Then all children of this CanvasLayer wont be affected by the camera’s movement. You could then move or animate the camera however you want, the background will scroll, and everything you added to the CanvasLayer will stay on the screen as normal.

Here is an example:

example parallax background