diff --git a/src/pygame_sdl2/sprite.py b/src/pygame_sdl2/sprite.py index 71cb76c..9d034d1 100644 --- a/src/pygame_sdl2/sprite.py +++ b/src/pygame_sdl2/sprite.py @@ -785,7 +785,7 @@ def get_sprites_at(self, pos): """ _sprites = self._spritelist rect = Rect(pos, (0, 0)) - colliding_idx = rect.collidelistall([sprite.rect for sprite in _sprites]) + colliding_idx = rect.collidelistall(_sprites) colliding = [_sprites[i] for i in colliding_idx] return colliding