Sup,
I have a problem when i try to clone a scene “noti” it appears always no matter what under everything, even under the map and i want it to be on top always
extends VBoxContainer
var noti = preload("res://scenes/notification.tscn")
func send_notification(text: String):
var noti_c = noti.instantiate()
add_child(noti_c)
noti_c.get_node("text").text = text
Yeah, I tried setting the layer to a higher value, but it didn’t change anything, it still behaves the same. I also forgot to mention that if I add the scene manually, it appears on top.