Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | NITEIP |
extends CanvasLayer
@onready var color_rect = $ColorRect
func change_scene(path:String):
var tween := create_tween()
tween.tween_callback(color_rect,“show”)
tween.tween_callback(get_tree(),“change_scene”,[path])
tween.tween_callback(color_rect,“hide”)
How can i fix it? Thanks.