How do I change visibility of scenes in a script?

Godot 4.4.1

I have scene which have been dragged onto the main scene & I have all scenes except the title screen invisible when you start the game. I don’t know how to change the visibility of those scenes in my code so that when you press a button to start the game you will… start the game. Need to know how to change visibility of scenes dragged onto a main scene in a script

You can show and hide nodes with the visible property.

func _on_play_button_pressed() -> void:
	$ChildScene.visible = true