Why is the macro incorrect?
Invalid macro variable name 'LastDeathLocation.pos'Why is that invalid? The command
/data get entity Grandpie LastDeathLocation.posdoes work. The command in the function is$title @a title {"text":"$(LastDeathLocation.pos)"}and the function is calledexecute as @s run function youdied:new_collector with entity @s