If you are trying to send a signal from an area2D to detect the mouse and it is a child of a viewport it will not work.
An important issue is that the viewport node has a property called "physics" with a checkbox called "object picking" that allows you to detect the mouse from the input event function if it is in a node with a script inside the viewport, (I think it is understood).
This is very important when combining 3D scenes with touchScreen movement of touch screens among other things.
Why do I always find BUGODOT? X (
Si estas tratando de enviar una señal desde un area2D para detectar el mouse y se encuentra como hijo de un viewport no va a funcionar.
Un tema importante es que el nodo viewport tiene una propiedad llamada "physics" con una checkbox llamada "object picking" que te permite detectar el mouse desde la función input event si se encuentra en un nodo con un script dentro del viewport,(creo que se entiende).
Esto es muy importante a la hora de combinar escenas3D con movimiento de touchScreen de pantallas tactiles entre otras cosas.
¿por qué siempre encuentro BUGODOT? X(
Link de Github with problem.
https://github.com/godotengine/godot/...