Add Lead 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.

Info:

When lead time is added to a code but­ton, instances cre­at­ed with that but­ton will begin a spec­i­fied num­ber of sec­onds before the but­ton was activated.

  1. Enter Edit mode in the code window.

  2. Open the Inspector win­dow for the code but­ton to which you would like to add lead time.

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

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

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

    You can use whole num­bers or num­bers with dec­i­mals for lead time.