1. A non-transitory machine readable medium storing a program which when executed by at least one processing unit directs a camera in a three-dimensional simulated space, said program comprising sets of instructions for: receiving a first command to direct said camera to frame a movable object in said simulated space for a duration, wherein framing the movable object comprises keeping the movable object in the camera's field of view over the duration; receiving a second command to adjust a plurality of adjustable UI controls for allowing a user to specify a plurality of framing parameters that control how the camera frames the movable object, wherein the framing parameters comprise an offset parameter that indicates a distance between the movable object and the camera's field of view; determining, based on the first and second commands, a path along which the camera moves while framing the movable object according to the specified framing parameters even as the movable object moves over said duration; and creating a video from said camera's field of view as the camera traverses the determined path over the duration.