#Добавляем Pygame:
import pygame
pygame.init()
screen = pygame.display.set_mode((1200, 600))
# Создаём свой курсор:
cursor = pygame.sprite.Sprite()
cursor.image = pygame.image.load('название файла')
cursor.rect = cursor.image.get_rect()
# Цикл:
while True:
events = pygame.event.get()
for i in events:
if i.type == pygame.QUIT:
exit()
# Задаём кординаты для курсора
mouse_pos = pygame.mouse.get_pos()
cursor.rect.center = pygame.mouse.get_pos()
# Рисувка:
screen.blit(cursor.image, cursor.rect)
pygame.display.update()
pygame.time.Clock().tick(60)
<br data-tomark-pass >
<br data-tomark-pass >

