text: Trap focus A method variously referred to as trap focus, focus trap, or catch-in-focus uses autofocus to take a shot when a subject moves into the focal plane (at the relevant focal point); this can be used to get a focused shot of a rapidly moving object, particularly in sports or wildlife photography, or alternatively to set a "trap" so that a shot can automatically be taken without a person present. This is done by using AF to detect but not set focus – using manual focus to set focus (or switching to manual after focus has been set) but then using focus priority to detect focus and only release the shutter when an object is in focus. The technique works by choosing the focus adjustment (turning AF off), then setting the shooting mode to "Single" (AF-S), or more specifically focus priority, then depressing the shutter – when the subject moves into focus, the AF detects this (though it does not change the focus), and a shot is taken.
  The first SLR to implement trap focusing was the Yashica 230 AF. Trap focus is also possible on some Pentax (e.g. K-x and K-5), Nikon, and Canon EOS cameras. The EOS 1D can do it using software on an attached computer, whereas cameras like the EOS 40D and 7D have a custom function (III-1 and III-4 respectively) which can stop the camera trying to focus after it fails. On EOS cameras without genuine trap focus, a hack called "almost trap focus" can be used, which achieves some of the effects of trap focus. By using the custom firmware Magic Lantern, some Canon DSLRs can perform trap focus.