Hey there!
I decided to take a couple days and refresh myself with the tutorials and review a few of the games others have submitted (seriously some talented people on here!)
With that said, I'm trying to understand how to delete/destroy an object using the UID (maybe it's not possible, don't know). For this example, I have 3 building blocks (sprites) that provide the player the option to build an oil pump or coal mine. Each block can be something different.
Once you build it, if you want to switch to something else, you have to first destroy it and then choose what to build there. I've got the building part down but not the destroy. I assumed it would be similar commands but I'm missing something. Any help would be appreciated.
(There is a global variable at the top called SelectedID = -1