mirror of
https://github.com/Relintai/pandemonium_demo_projects.git
synced 2024-12-23 14:06:50 +01:00
7 lines
134 B
GDScript3
7 lines
134 B
GDScript3
|
extends Area2D
|
||
|
|
||
|
func _on_wall_area_entered(area):
|
||
|
if area.name == "Ball":
|
||
|
#oops, ball went out of game place, reset
|
||
|
area.reset()
|