0 votes

So I'm trying to get the unhandled input events using Node2D while it's under Spatial scene root and I think I'm doing this wrong.

Apparently, using the function _unhandled_input(event) doesn't work when Node2D is not the scene root. Are there any other choice other than using _input(event)?

EDIT: I'm trying to use Node2D as Control GUI of my 3D game, btw. That's why it's under Spatial. So lemme know if I shouldn't do that.

asked Jul 20 in Engine by CEDoromal (30 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.