how to draw a single pixel in pygame code example Example: draw a single pixel using pygame surface.set_at((x, y), color)