Add Lead Time to a Button
When lead time is added to a code button, instances created with that button will begin a specified number of seconds before the button was activated.
Enter Edit mode in the code window.
Open the Inspector window for the code button to which you would like to add lead time.
You can open the inspector window for a button by double-clicking the button or single-clicking it and clicking the Inspector button in the code window toolbar.
Enter the Behaviour tab and check the box next to Custom lead time.
Enter (in seconds) your desired lead time.
You can use whole numbers or numbers with decimals for lead time.