parameters: (self)
return_statement: return self.states['rotation']
docstring: Get the rotation from the position param.
  
          Returns:
              the rotation in degrees or 0 if failure
docstring_summary: Get the rotation from the position param.
docstring_tokens: Get the rotation from the position param .
function: def rotation(self):
          """
          Get the rotation from the position param.
  
          Returns:
              the rotation in degrees or 0 if failure
          """
          return self.states['rotation']
function_tokens: def rotation ( self ) : return self . states [ 'rotation' ]