function macros

what should I be doing?

// tick.mcfunction: function clan:border with entity Ferrarex

// border.mcfunction $execute as @a at @e[tag=Base] positioned ~ $(Pos[1]) ~ run particle dust{color:[1,0,0],scale:2} ^ ^ ^100 0 0 0 0 100 force @s

the problem is at $(Pos[1]), but what should I be doing?

Continue to help post