local fatherNode= self._rootNode:getChildByName("NodeName") --父节点
local MyNode = bankerBG:getChildByName("fatherNode") --自己节点
local x , y = MyNode:getPosition()
-- getPosition() 获得的是 当前节点的坐标x与y 所以是两个数值,想要单独获取一个可以getPositionX()或者getPositionY()
从最上层的父节点开始 一直找到自己节点。