extends StaticBody2D @export var enabled: bool = true func _ready(): if enabled: enable() else: disable() func enable(): visible = true process_mode = Node.PROCESS_MODE_INHERIT func disable(): visible = false process_mode = Node.PROCESS_MODE_DISABLED