How to write a script for maze overlap

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

I dont know how to write a script for maze game overlap.
In the maze game becuase the mazelines are with the background , so i dont know what to do.
I have read the docs in godot before but becuase of the mazeline are with the background , i cant write them.