extends MovementBehaviour class_name MovementBehaviourBee func get_available_spaces(pos: Vector4i, map: HexGrid) -> Array[Vector4i]: var potential_spaces = map.get_empty_neighbours(pos) print(potential_spaces) var target_spaces: Array[Vector4i] = [] for neighbour in potential_spaces: if map.can_reach(pos, neighbour): target_spaces.append(neighbour) return target_spaces