Why doesn't the background sprite smooth with the camera?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By DJSlimeball

My background sprite is a child of my camera2d and the camera has smoothing enabled, why does the background sprite lag behind the camera and stick with the player instead?

:bust_in_silhouette: Reply From: Jed Stevens

This depends on your implementation; If you want to draw UI consider using a new CanvasLayer this would plant the UI on the screen in a fixed position.

Sorry but I actually figured it out by finding CanvasLayer before your answer, and it doesn’t have to do with UI but thanks anyway.

DJSlimeball | 2022-11-20 01:58

Cool! Sounded like a UI problem to me; hopefully it helps someone eventually

Jed Stevens | 2022-11-20 06:25