I’m trying to add a cuboid I create in scripting to a list, so I can go through that list later and delete them all when certain conditions are met. Only thing is, I don’t seem to be able to grasp how lists work in typescript. I know how to do it in coblocks, but it’s not possible to go that route since I’m creating the cuboids via RayCasting. (thanks to the minecraft scripting cospace i’m building upon from TechLeapNZ ) Could anybody help me or push me in the right direction?
this is what i got so far but it keeps giving me errors in the console.