code: def get_backbuffer_size(self):
          
          vec = Vector2()
          vec.X = self.backbuffer.get_width()
          vec.Y = self.backbuffer.get_height()
          return vec
docs: Get the width and height of the backbuffer as a Vector2.