Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Tort | |
Old Version | Published before Godot 3 was released. |
How do I know that the cursor is in the area 2d?
Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Tort | |
Old Version | Published before Godot 3 was released. |
How do I know that the cursor is in the area 2d?
Reply From: | Tort |
Solved.
print(get_node('area_2d').overlaps_area(get_node('cursor/area_2d')))