class_name CanWaitCodition extends ConditionLeaf func tick(actor, _blackboard): if actor.next_target != null: return FAILURE var num = randi_range(0, 1) if num == 1: return FAILURE return SUCCESS