Hey there, I have made a procedural generation world where it uses “Perlin Noise” to make the map. A problem I ran into is that all blocks are the same which I fixed with there position on the Y, but now I ran into a bigger problem. How can I change the part if its under another part? Im wanting to do a Grass and Dirt set up where if there is a block below the grass it would become dirt. I was thinking of using the onTouch event but figured that wont work since it get touched from surrounding parts. As well as if there isn’t a block then it would be grass, or any block. So long story short, How can I set a parts color based on if there’s another part above it/on top of it?
How its set up: