How to make collectible objects?

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

I’m doing a Minecraft style game, but in 2D and top-down view. My question arises when creating blocks or other objects with which the player needs to interact and my question is in the interaction part.

What is the best way to make the player interact with objects? I would like to know if using TileMap is viable for objects and how I could use it.