Collisionpolygon2D to react at my mouseclick.

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

hello, I’m tryin to make my collisionpolygon2D react to my mouseclick, here’s my script:

What’s wrong with it please, so that I just froze?

:bust_in_silhouette: Reply From: BraindeadBZH


Try to use an Area2D for that, with input_pickable set to true.

I was with an area2D, they told me to use a collisionpolygon…

Syl | 2018-03-03 13:05