Hi,
I was wondering if it is possible to get the clicked collision shape from a Area2D which has multiple collision shapes as children. Currently, I have a single Area2D object which holds four collision shapes which are rectangles and one which is a polygon. My goal is, to get the clicked shape (or it's name) when the player clicks on one of them.
When all shapes would be rectangles I could simply use the shape_idx, provided by _on_Area2D_input_event function, but when I add polygons to the Area2D it's no longer working, because one polygon can contain multiple indices.