Disintigrating tiles

looking to have a sprite animate a disappearing tile as I step on it. Which would then drop me into the lava. I have it working but I think it could be much more efficient, maybe with an array? thnx fo any help

@Dace here’s how I like to do falling/disintegrating tiles (no arrays or variables required):

I added comments to the code to explain everything I’m doing. Let me know if you have any questions

1 Like

This is amazing! Just what I needed. I really appreciate your time!

One more question, building on what you gave me, could I do a falling stalactite? I tried it here but just wondering if you might have a better way?