The title say everything you need to know to answer my question
Explain "released" please.
Do you mean something like:
When (some object in your project) is released?
Like when you are touching an object and then you let go of it?
There are a couple of projects which use that. You need check if blocks and values. I think @SUPERSWAGGY made one project.
There're links on the forum too.
I REALLY NEED HELP WITH THIS!!!!!!!!!!!!!!!!!!!!! I am making the sequel to: Are you patient?
@DECODECO where did you get that awesome profile photo?
Wut. Thank you so much
When Thing is pressed
Set (press) to 1
Wait ms 800
Set (press) to 0
On this site called "tenor."
It has really cool GIFs!
Lol which one? (͡° ͜ʖ ͡°)
When 7=7: Set (variable) to 10 When (Object) is pressed: Set (variable) to 1 When (variable)=10: (this is your "when released" rule)
Careful @MR.GAM3R, that'll be "When not pressed", which is different than When Released in that the press doesn't need to occur and the When variable = 10 event will continually loop while the object is not pressed.
Careful @DECODECO, that will execute continually when a project starts (since variables initialize as 0) & will only pause for 800ms when the object is pressed.
To make code execute once when an object is released, I like these 2 options which accomplish the same affect in slightly different ways. As a side benefit, there's no "overhead" with code that has to always be executing (meaning the events are only triggered during and and for a few milliseconds after a press)
In both examples the (self) Pressed variable is 0 before the press & settles back to 0 after the press to sit idle again until the next press.
Still need help? If so, I can do it tomorrow.
Lol sorry, my bad. Released is something different.
Maybe we all answered differently because you didn't elaborate on your question?