I would suggest getting rid of the pin behavior, and making your own with some trig.
x+cos(angle)*distance
y+sin(angle)*distance
That lets you use a variable to decide where the offset container will be.
variableo=0, set angle to n, set distance to n
variableo=1, set angle to t, set distance to t
You just have to figure out what those values are.