You need to remove the entire hit array at once as shown above - take a closer look. Removing them one by one will not work - explained why below.
In your example, you’re still doing the same thing.
You need to remove the entire hit array at once as shown above - take a closer look. Removing them one by one will not work - explained why below.
In your example, you’re still doing the same thing.