scoreboard players remove .distance_check raycast 1
execute if entity @n[type=interaction,tag=button,dx=0] run return run function main:settings/holding/check/found
execute if score .distance_check raycast matches 1.. positioned ^ ^ ^0.1 run function main:settings/holding/check/raycast