How get mouse_enter on an Area2D that is child of CanvasLayer

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By EAngeles02
:warning: Old Version Published before Godot 3 was released.

Hi, everyone. I’m having some trouble with inputs…

Area2D set as pickable receives mouse events as expected until I set it as a child of a CanvasLayer. I’m really stuck here, any thoughts?

:bust_in_silhouette: Reply From: ulty

I think the CanvasLayer is only supposed to hold UI elements, such as control Nodes rather than physics types such as Rigid Body and Area 2D.

Yeah, that is what it seems like.

EAngeles02 | 2016-04-02 16:02