extends Node class_name Hitable var health = 200 func Hit(dmg): #var tween = create_tween() health -= dmg if(health <= 0): queue_free()