Please help me me if you can i am trying to make it so the scene reloads when you hit a trigger but no matter what I cant get it to work!
heres my code:
extends Area3D
func _on_body_entered(body: Node3D):
get_tree().change_scene_to_file("res://level.tscn")
The code is attached to an area 3d node because thats what reddit told me to do when it wasn't working the first time.
Please help if you can. i really want this to work
