I am building an adventure point and click game, in the game there will be a lot of objects for the player to interact with. What I want is for the object to only be clickable and useful when the player is near the object.
My initial idea was to create an invisible object that acts as an area of effect, so if the player is overlapping that radius object then the item becomes clickable... But that would require lots of extra objects being added to the layout.
As the game will have a lot of objects that the player can interact with is there a better way of doing this that doesnt require adding objects to the layout as I want to improve the games efficiency as much as possible.