Completely fine, no worries. the pillar number was to set the animations, but it turns out that you can just do that, and somehow it will work (construct 3 logic hurts my brain sometimes)
As for the code, It works perfectly fine as long as there is an instance of the pillar somewhere on the layout. if there isn't, then the first pillar is always offset.
I've managed to make a workaround, where upon deletion it spawns another pillar out of sight and on a very far back background layer.