Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Adam | |
Old Version | Published before Godot 3 was released. |
I have a character (a KinematicBody2D with a CollisionShape2D) and I want to perform an action on an item (Area2D with CollisionShape2D) in front of him when he is over that item. The action will be performed by pressing a button. How can I “see” when the character is over that item?