it's an attribute so you need to use the getAttr command: float $ty = `getAttr pCube1.ty`; that will do it. to set it use the setAttr command setAttr pCube1.ty 10; A