Hey thanks for that. I have been digging and have:
var results = []
for node in get_tree().get_nodes_in_group("HUDBullets"):
results.append(node)
I guess I now need to find the last in an array and then queue_free()
it. I had a read at docs.godotengine.org/en/3.0/classes/class_array.html I found back()
and gave it a whirl like so:
#create array
var results = []
#stuff the bullets into the array
for node in get_tree().get_nodes_in_group("HUDBullets"):
results.append(node)
#delete the last bullet in the array
if results.back():
results.back().queue_free()
So hopefully that helps someone in the future and thanks so much to /u/Dodolta It's really appreciated.