parameters: (self, factor)
docstring: Set the scale factor of the animation.
  
          :param factor: Factor by which sprite images are scaled down at default zoom level.
          :type factor: float
docstring_summary: Set the scale factor of the animation.
docstring_tokens: Set the scale factor of the animation .
function: def set_scalefactor(self, factor):
          """
          Set the scale factor of the animation.
  
          :param factor: Factor by which sprite images are scaled down at default zoom level.
          :type factor: float
          """
          self.scalefactor = float(factor)
function_tokens: def set_scalefactor ( self , factor ) : self . scalefactor = float ( factor )