get_node returns exactly one node specified by the path parameter, not all nodes matching this name. To find all nodes matching a certain criteria, you could assign them to a group (e.g. “group_blocksA”) and access them with
onready var objects_A = get_nodes_in_group ("group_blocksA")