So i already know how to use sim.partNeighbors, its like This: sim.partNeighbors(x,y,1,1)
But how do you use it??
I used ipairs() and pairs() with the "for" function but it not working
do yall know how to use it??
You gotta do something likefor part in sim.partNeighbors(x, y, 1, 1) dopart is the part id of the neighbor