class_name Player extends Character func _ready(): var controller := PlayerController.new() controller.character = self add_child(controller)