I need some help with this code




I'm in need of some help with one of my games in progress.

I can't figure out how to make the star work how I'd like it to. I want it to disappear when the boat touches it, but if the boat doesn't touch it, I want to star to stay visible for four seconds and then disappear. And keep repeating that process over and over. But I can't figure out how to do that exactly. Can someone help?

Sorry no one saw it in the talk to a Hopscotcher topic and I really want to finish this game. XD


I'll try to see what's wrong!
That's weird, the link isn't working...


Like this?



How do you know so much about coding? ;-;

Are there math lessons that can also help with coding in fifth or sixth grade?

how on earth do you do what you do coding master?


I don't lol
I just learned the stuff I do by analyzing what the blocks can do and using it for ways to do what I want.

I dunno. I think taking on Python or just studying blocks more could help, but ¯\_(ツ)_/¯

Not a master. :P
There are so many things I have yet to learn, like trig and even efficiency!
I find ideas, go through blocks I think are useful for them, picture the idea, narrow down blocks, and improvise! Or just go in blindly and use my knowledge.