ProtoTwin API
    Preparing search index...

    Class PauseRobotInstruction

    Pause instruction.

    Waits for a specified number of seconds before completing. This instruction is used to wait for a fixed number of seconds. To wait on a signal (such as a sensor), use the

    instruction instead.

    Hierarchy (View Summary)

    Index

    Constructors

    Accessors

    Methods

    Constructors

    Accessors

    • get delay(): number

      The time (in seconds) to wait for.

      Returns number

    • set delay(value: number): void

      Parameters

      • value: number

      Returns void

    • get program(): null | RobotProgram

      The program to which the instruction has been assigned.

      Returns null | RobotProgram

      If the program is null then the instruction hasn't been added to a program.

    • set program(value: null | RobotProgram): void

      Parameters

      Returns void

    Methods