Touch Input not registering in Control node

Godot Version

4.6

Question

I'm trying to create a visual novel in mobile. For some reason I can't move on to the next dialog because the input is not registering.

func _input(event):
	if event.is_action_pressed("screen_pressed"):
		print("Input detected, current index: ", dialogue_index)
		if dialogue_index < len(dialog_lines) - 1:
			dialogue_index += 1
			process_current_line()
		else:
			print("End of dialogue reached.")

This is my input function, the screen_pressed is already connected to left mouse button. I’ve also made sure to check emulate touch from mouse. I tried using gui input too, but it still won’t work. I’ve made sure that the mouse filter on my control parent node is set to stop and everything else is pass. Has anyone experienced this before?

Chances are something is blocking your inputs, you can check what control handled your input while in debug mode, if you open the debugger at the bottom, and go to the “Misc” tab. Try to press the control you want to use inside the game while it’s running, then check what the “Clicked Control” actually says.