he wants the collisions with the dots code. I tested it for a long time and it doesn't delete them all at once. i would use a check veriable to check which wall has been hit. something like
if entitycollided(player,wall) walhit=true ;then later use the walhit varible to move them. if walhit=true movewall()