i have a question tho.. what if i want to make it a random tscn(i already made a bunch) in push of a button, i already put a script :
extends Node2D
var rumahKecil = ["res://TSCN/Rumah1.tscn","res://TSCN/Rumah2.tscn","res://TSCN/Rumah3.tscn"]
func onButtonpressed():
gettree().change_scene("res://TSCN/Rumah2.tscn")
but im confuse to randomize it. thank you in advance.
i don't know what randomize to use ?