execute positioned ~-.95 ~-.95 ~-.95 as @e[dx=0] positioned ~.9 ~.9 ~.9 run tag @s[dx=0] add selected