$function main:mechanics/particles/particle_tick {"id":id0,"particle":"gun_hit","character":player,"type":raycast,"follow":0,"follow_range":"^ ^ ^$(distance) ~ ~"}
execute as @e[type=item_display,tag=id0_enemy_raycast_particle] at @s run rotate @s facing entity @p eyes