[Beginner] How to make a sprite invisible after a certain time?

Hello! I'm currently making a game where once you touch a certain sprite an image will appear. The only problem I have with this is that I'm not too sure how to make the image disappear after a second you press it.

May be you may Use one clock component, untick both options from designer part

When Sprite1.Touched:
    set Image1.Visible to True
    set Clock1.TimerInterval to 1000 
    //or anyway value (1sec= 1000)
    set Clock1.Enabled to True

When Clock1.Timer:
    set Image1.Visible to False
    set Clock1.Enabled to False

Also you may use with a variable boolean

When Sprite1.Touched:
    if IsImageVisible = False then
        set Image1.Visible to True
        set IsImageVisible to True
    else
        set Image1.Visible to False
        set IsImageVisible to False

That's after a second of clock time, or after the second time you press it?

I guess you mean the first, otherwise you couldn't see the sprite to press it after it was made invisible.

You could start a global list of sprite components that need to be made visible, and have a clock timer service the list every second, checking if the list is not an empty list, then taking item 1 and making it visible before removing it from the list.

When you make a sprite invisible, add it to the list.

(I may have mixed up visible and invisible. The big idea is to have the list and use generic sprite blocks and component blocks.)