Add Lag Time to a Button

This tutorial is specific to our newest product, Hudl Sportscode. If you’re on Sportscode v11, use these resources instead or upgrade today.

Adding lag time to a code but­ton trans­forms it into a one-click” but­ton – it doesn’t require a sec­ond click to end the instance. Instead, the instance will be closed auto­mat­i­cal­ly, a spec­i­fied num­ber of sec­onds after the but­ton is activated.

  1. Enter Edit mode in your code window.

  2. Open the Inspector for a code button.

    You can open the inspec­tor by dou­ble-click­ing the but­ton or sin­gle-click­ing it and then click­ing the Inspector but­ton in the code win­dow toolbar.

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

  4. Enter (in sec­onds) your desired lag time.

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