Delay

The Delay operation delays the execution of an operation based on the specified time.

Block
Text

delay(EXPRESSION);
          1

1: Delay time (seconds)

(Example)

Block

Text

onClick($GraphicObject.Switch1, ()=>{

delay(3);

Var1 = 5;

});

Touch Switch1 and after 3 seconds, 5 is assigned to Var1.