code: def z(self, position=None):
          
          p = self.GetPosition()
          if position is None:
              return p[2]
          self.SetPosition(p[0], p[1], position)
          if self.trail:
              self.updateTrail()
          return self
docs: Set/Get actor position along z axis.