Skip to main content

Add Lag Time to a Button

Adding lag time to a code button transforms it into a "one-click" button--it doesn't require a second click to end the instance. Instead, the instance will be closed automatically, a specified number of seconds after the button is activated.

  1. Enter Edit mode in your code window.

  2. Select the button to add lag time to and click Inspector.

    Double-clicking a button will also open the Inspector.

  3. Enter the Behaviour tab and check the box next to Lag time.

  4. Enter (in seconds) your desired lag time.

    The Re-activate lag time tick box will re-activate the button before the lag time expires if the code button is click again.

    When you've added lag time, you will always have a lead time, even if that lead time is just 0 seconds.