#execute if entity @e[tag=button,distance=...5] run title @p actionbar {"text":"click"}
execute if entity @e[tag=button,distance=...5] as @n[tag=button,distance=...5] at @e[tag=screen] run function survivalplus:finale/arcade/button_sort

execute if entity @s[distance=..20] unless entity @e[tag=button,distance=...5] if block ~ ~ ~ #survivalplus:nobounce positioned ^ ^ ^.5 run function survivalplus:finale/arcade/clickcast
execute if entity @s[distance=..20] unless block ^ ^ ^.5 #survivalplus:nobounce run particle electric_spark
execute if entity @e[tag=button,distance=...5] run particle electric_spark