how do I detect a click on a CollisionShape3D

how do I detect a click on a CollisionShape3D I tried a lot of thing and none worked and it was soo hard

You can record where on the CanvasLayer the mouse click happened, then you can use a raycast from the cameras relative position to see what was “clicked”.

1 Like

tyy so much I didnt know that, btw sorry for no replying