execute as @a at @s run function main:mechanics/raycast/raycast {"radius":"~ ~-0.15 ~ 0 0 0 5 0 force","id":ID,"particle_1":name,"particle_2":name,"distance":number,"type":weapon, rc or q,"positioned":"hitbox size","character":character,"x":"~","y":"~","offset":"","offset_2":"","pierce":1}


hitbox size example: positioned ~-1 ~-1 ~-1 as @e[type=#main:enemies,tag=enemy,dx=1,dy=1,dz=1]

execute positioned ~-s/2 ~-s/2 ~-s/2 as @e[dx=0] positioned ~s-1 ~s-1 ~s-1 if entity @s[dx=0] positioned ~1-s/2 ~1-s/2 ~1-s/2 ...