This uses a home-grown tilt sensor to show an hourglass. At the end of every five seconds, unless you turn the tiltsensor (the "physical hourglass") upside down, the script will not proceed. Hourglass image taken from the OpenClipArt project.