## Decrease range left
scoreboard players remove @s vb.raycast 1

## Rotate block
execute if block ~ ~ ~ #vb:wrenchable run function vb:tick_player/custom_item/spanner/rotate

## Continue raycast
execute if score @s vb.raycast matches 1.. if block ~ ~ ~ #vb:nohitbox positioned ^ ^ ^0.25 run function vb:tick_player/custom_item/spanner/raycast
