Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
108 B
26
Indexable
Never
extends Node2D

func _on_Ball_body_entered(body):
	if body.is_in_group("brick"):
		body.remove_brick()