i tried to do like this, but it doesn't work.:
Scene.mouse_filter = MOUSE_FILTER_IGNORE
Scene.mouse_filter = Control.MOUSE_FILTER_IGNORE
Scene.mouse_filter = 2
Scene.MOUSE_FILTER_IGNORE
Another problem may be in the signal or in the path to the node, here is the complete code of my script:
onready var MainMenu = $MainMenu
onready var Chapters = $Chapters
onready var Options = $Options
func _on_MainMenu_change_to_chapters():
fade.fade_in()
ui_sound.play()
MainMenu.mouse_filter = MOUSE_FILTER_IGNORE
yield(get_tree().create_timer(transition_duration), "timeout")
MainMenu.visible = false
Chapters.visible = true
Options.visible = false
Chapters.mouse_filter = MOUSE_FILTER_STOP #default value
fade.fade_out()