1. A method for using depth images to sense motion, comprising: creating a reference image that includes foreground data and background data based on multiple previous depth images; receiving a new depth image; creating a motion image based on the new depth image and the reference image; identifying one or more objects in the motion image; using position information for the identified one or more objects to update an application; and updating the reference image based on the new depth image.