-1

but when I try to, the hitboxes are too far right down and they don't even work.

so this is the code:

```self.keyHitbox = [self.xkey, self.ykey]
self.keyHitbox += [25, 30]
self.keyRect = pygame.draw.rect(self.background, (0, 0, 0), self.keyHitbox, 4)

self.cursorHitbox = [i for i in pygame.mouse.get_pos()]
self.cursorHitbox += [25, 30]
self.cursorRect = pygame.draw.rect(self.background, (0, 0, 0), self.cursorHitbox, 4)'

when I run it, it won't work right (as I stated above)

0 Answers0