extends BodyPart class_name PushingBodyPart onready var touch_area = get_node("TouchArea") # Called when the node enters the scene tree for the first time. func _ready() -> void: touch_area.connect("body_entered", self, "_on_touch_area_entered") func _on_touch_area_entered(body): if body.name != base.name: push(body) func push(body): pass