About this deal
think [] for () seconds— A thought bubble appears over the sprite and stays for the specified amount of time. when [ v] key pressed— When the specified key is pressed, the script activates. The event will only be triggered again after the event is released. Suppose the wheat farm runs for 10 hours and delivers the promised 2,500 wheat. That would mean our farm produced:
Extremely long and intensive scripts could take a long time to process and may actually have a notable enough elapsed time. Do not rely on this, as it depends on the computer's speed.abs v] of ())— The absolute value (abs), square root (sqrt), sine (sin), cosine (cos), tangent (tan), asine (asin), acosine (acos), atangent (atan), natural logarithm (ln), logarithm (log), exponential function (e glide () secs to ( v)— Glides the sprite to the mouse-pointer, a random position, or another sprite, taking as long as the specified amount of time
glide () secs to x: () y: ()— Glides the sprite to the location, taking as long as the specified amount of time. say [] for () seconds— A speech bubble appears over the sprite and stays for the specified amount of time. To store all this wheat, we'd need 40 slots of inventory space — that means we'd need at least one double chest. say []— A speech bubble appears over the sprite and will only go away if the sprite says or thinks something else.ask [] and wait— An input box appears — a value is typed in and it stores the value in the (answer) variable. Take the following code, now. While it appears to be the same, just using a loop, it actually is not all executed in a single frame this time. think []— A thought bubble appears over the sprite and will only go away if the sprite says or thinks something else. v] of ( v))— The X position, Y position, direction, costume, size or volume of the Stage or a sprite.