Megalomaniak Okay, with some help I made some progress: I made a function that makes the question box change and the input problem is ok, but the problem with the cursor persists. The script is right there:
func _process(delta):
if get_node("Elevator").player_entered:
$Player.motion.y = $Elevator.move.y
question_change(get_node("Elevator").level_at)
pass
func question_change(level):
if level == 0:
$Player/QuestionBox/VBoxContainer/VBoxContainer/Option1.grab_focus()
$Player/QuestionBox.show()
if $Player/QuestionBox.chosen_option:
get_node("Elevator").right_answer = true
$Player/QuestionBox.hide()
elif level == 1:
$Player/QuestionBox2/VBoxContainer/VBoxContainer/Option3.grab_focus()
$Player/QuestionBox2.show()
if $Player/QuestionBox2.chosen_option3:
get_node("Elevator").right_answer = true
$Player/QuestionBox2.hide()
elif level == 2:
$Player/QuestionBox3/VBoxContainer/VBoxContainer/Option3.grab_focus()
$Player/QuestionBox3.show()
if $Player/QuestionBox3.chosen_option3:
get_node("Elevator").right_answer = true
$Player/QuestionBox3.hide()
elif level == 3:
$Player/QuestionBox4/VBoxContainer/VBoxContainer/Option1.grab_focus()
$Player/QuestionBox4.show()
if $Player/QuestionBox4.chosen_option:
get_node("Elevator").right_answer = true
$Player/QuestionBox4.hide()
elif level == 4:
$Player/QuestionBox5/VBoxContainer/VBoxContainer/Option1.grab_focus()
$Player/QuestionBox5.show()
if $Player/QuestionBox5.chosen_option:
get_node("Elevator").right_answer = true
$Player/QuestionBox5.hide()
What can I do now?