code: def get_sprite_at_position(self, x, y):
          
          over = None
          for sprite in self.all_mouse_sprites():
              if sprite.interactive and sprite.check_hit(x, y):
                  over = sprite
  
          return over
docs: Returns the topmost visible interactive sprite for given coordinates