Quick tip: Want to delete elements while iterating over an array? Go backward, start from the last element and work to the front.
If you go forwards, you'll:
❌Skip elements
❌Go out of bounds at the end
Not #GodotEngine specific, but implemented in Godot.
#indiedev #gamedev