How to set collision boundary in a prallax background ?

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

For a game like sky shooter i want to set boundaries in parralax layer so that player doesn’t move out of the scene. collisioshape 2d is not instancing with the parallax layer sprite ?

did you ever find a solution to this problem.
i know of a video that discusses very brief way to create a boundary in godot . at 2:55 into the video he talks about global position:

hope this helps in some way.

chris33556 | 2022-07-03 18:25