scoreboard players set .distance_check raycast 100
scoreboard players set .found_button raycast 0
execute as @a at @s anchored eyes run function main:settings/holding/check/raycast
schedule function main:settings/holding/check/start 10t