the error is because you just created the variable “Border” and therefore has nothing in it.
So, you have a border element:
and you set it as a variable:
In the graph, you have access to it, and use it to change the brush or whatever you need: