I need to make these squares go back to their original position in Pygame

https://replit.com/@sanstheskeleton22/RowdyLargeVirtualmemory

Please use the topic code help: I think you posted these (this & your other post) in the incorrect topic.

1 Like

why did u gasp lol??

1 Like

i put alot of work into my stuff

1 Like

because, as I previously stated, I believe you placed this in the incorrect topic.

1 Like

sorry i didnt know this was the wrong place

its alright lol it happens.

1 Like

It’s okay, I have moved it into the correct cat.

1 Like

thanks qwerty ur very helpful

1 Like

Perks of having TL3. :sob:

1 Like

8 posts were split to a new topic: How to see my TL

take a look at this link https://replit.com/@sanstheskeleton22/RowdyLargeVirtualmemory#main.py

isnt it cool? it took me 3 weeks

its so painful to do work man

yo @QwertyQwerty88 could u help me with this?

Could you provide more detail about your problem? When do you want the squares to go to their original positions?

when i click u i want them to go back @QwertyQwerty88

:face_with_raised_eyebrow: are you advertising or asking for help. If your asking for help, could you tell us where in your code you need to reset?

on line 33 thats where

              myRect = pygame.rect(100,100)
              myOtherRect = pygame.rect(100,100)

I think Should be

              myRect.x = 100
              myRect.y = 100
              myOtherRect.x = 100
              myOtherRect.y = 100