Can someone help me on how to fix this

![217b9166-33ef-4588-afdb-29bc3aca01c7|243x500](upload://jmI0otiQq2pbgND10tRpWvu63

What's this?
You forgot to upload something...
Without anything we can do nothing

Taifun

i upload another picture sir.

heres the actual picture

It would really help if you provided a screenshot of your relevant blocks, so we can see what you are trying to do, and where the problem may be.

To get an image of your blocks, right click in the Blocks Editor and select "Download Blocks as Image". You might want to use an image editor to crop etc. if required. Then post it here in the community.

Taifun


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by icon24 Taifun.

(Canned Reply: ABG- Export & Upload .aia)
Export your .aia file and upload it here.
export_and_upload_aia



In clock1.timer, test those two variables firstflip and secondflip for -1 before trying to use them as card components.

Sometimes it is easier to generalize a problem that do deal with individual cases.

For your two variables firstFlipped and SecondFlipped, they could be replace with a single global list Flipped, initially an empty list.

Each time you want to go flip a card, check the length of the list. If under 2, it's okay to flip a card (button) and then add it to the list.

Then the length of the list can tell you if you have enough cards flipped to checking them for matches.

To unflip all your cards, loop through the Flipped list before emptying it.