Multiple CollisionPolygon2D for 1 Area2D

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Gettokiwi


I’m trying to set up two different interaction in my project, both is a left click input event with polygons in a area2D, and i’m searching for a way to check which polygon is clicked inside that Area2D. Any ideas?

Why not use two Area2Ds under a master Node? Then each can have their own polygon and you can use the built-in signals for Area2Ds to tell which is clicked.

Diet Estus | 2018-04-16 15:31