Using set_cell with terrains

Godot Version

4.2

Question

So i encountered this problem when i was experimenting with procedurally generated terrain. This was around the time the original godot forums were down, so i had no help. Then my computer stopped working, and i lost all my original code with it. I have no code to show, but i want to know the awnser to my original question, now that the forums are back up, how do you use Terrains with set_cells? I tried using Set_Cells_Terrain_Connect, but it kept sending error messages or simply doing nothing. An awnser would be appreciated :smiley:

Please specify the Godot Version. That way people finding your questions in the future will know which version the answers apply to

Oh sorry youre right : p

Can you post your code?