Files
Embodiment/Levels/Interactives/coin.gd
2021-11-29 13:22:17 -06:00

11 lines
206 B
GDScript

extends Area2D
func _ready() -> void:
pass # Replace with function body.
func _on_Node2D_body_entered(body: Node) -> void:
if body.get_name() == "Player":
queue_free() # Replace with function body.