![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | Javiera |
I have not yet been able to fix this error. I have spent the last 4 hours watching videos and they are all very different or the same but it still does not work for me.
func _on_Area2D_body_entered(body):
if body.is_in_group(“player”):
get_parent().Monedas += 1
print(str(get_parent().Monedas)
queue_free()
pass # Replace with function body.
It has been giving me error in queue_free()
You didn’t say what the error was.
kidscancode | 2021-09-09 00:16
error(21,3): Expected ‘,’ or ‘)’
(Soy nueva en esto, disculpa si no especifico bien).
Javiera | 2021-09-09 00:32