My bullets do move in the direction of where I clicked which is great until it stops there and doesn't move any further.
if ev.type == pygame.MOUSEBUTTONDOWN:
mousePos=pygame.mouse.get_pos()
bulletDestination.append(mousePos) #where I clicked
bullet=[knightPos[0]+63,knightPos[1]+27,20,20] #Position of the center of my player
bullets.append(bullet)
for i in range(0,len(bullets),1):
angle3=math.atan2(bulletDestination[i][1]-bullets[i][1],bulletDestination[i][0]-bullets[i][0])
bulletDeltax= math.cos(angle3)*bulletSpeed
bulletDeltay= math.sin(angle3)*bulletSpeed
bullets[i][0]+=(bulletDeltax)
bullets[i][1]+=(bulletDeltay)
pygame.draw.rect(mainSurface, rectColor3,bullets[i])