Player Placeable Items Question

I want to start working on something like this just for my own learning, where in-game the player can place down objects aka building items or structures. Is there any tutorials about this or maybe a general idea flow of how to achieve this? No I don’t want to make the next rust, this is just something i’m wanting to learn how to do. Any assistance or pointing in the right direction would be truly appreciated.