setblock infront of armor stand using scoreboard
for a datapack im working on:
i am trying to set the block infront of an armorstand, where the position is a random distance of 1 to 10 blocks in front of the armorstand.
is there a way to use like a scoreboard value for the distance? ive seen that theres macros that should work but i dont understand how they work (i cant understand the documentation)
any ideas appreciated, thanks