Hi, thanks your playing!
Take a look at this https://www.gdquest.com/tutorial/godot/2d/scene-transition-rect/ or this video https://www.youtube.com/watch?v=yZQStB6nHuI
We use a global scene for transitioning between scenes, and that scene has the transitions. Hope that helps!