I was making a game in pygame and i needed to detect collision between the player and the enemy while making the function to check this i ran it and it always returns "False" here is my code: def collision(): if Game.player.colliderect(Game.enemy): print(True) else: print(False)
when called in an update function thats in the main game loop it should detect collision, but it doesn't.