Implementing the sampler(), update(), and entity() Functions

Within the sampler() function, you need to set up certain parameters for the drag sequence: the keyword list, the display prompt, the cursor type, and user input controls. The following sections describe each of these parameters in more detail.