execute positioned ~1 ~ ~ if block ~ ~ ~ #bd:x_axis_linked run function bd:movement/object/block_move_up
execute positioned ~-1 ~ ~ if block ~ ~ ~ #bd:x_axis_linked run function bd:movement/object/block_move_up
scoreboard players set global linkedBlock 1