Objects are the lowest instance in the task hierarchy and are placed onto frames. In the task editor, objects are grouped into 7 groups: Media, Shapes, Text, Buttons & Navigation, Question Options, Question Inputs, and Question Various. Objects can be added to the frame via the object toolbar, which is located to the left of the frame. A list of all objects that have been placed on the current selected frame is shown on the right side of the editor under the "Objects" tab. Users can change the z-index of an object (which object is shown in front of others), copy, and delete objects. The "current selected object" can be chosen either by clicking on it directly on the frame, or by clicking on the respective object in the object list. After selecting an object and the appropriate modifier (Default Trial, Factor Level, Condition or Single Trial), modifications can be made directly on the canvas or by using the "Object-Properties" panel on the right. In this panel, all properties of the currently selected object are displayed and can be modified using the input fields, checkboxes, etc.
The object properties for the current selected object are shown on the right side of the editor. These properties determine how the objects on the frame will look to participants. Many object properties can be modified between trials, while some properties (such as the object's name) are fixed and cannot differ between trials. Properties which are modified (different from the default value) are indicated by a dark gray background color. All of the properties that can be modified between trials can be modified dynamically during event execution using the "set obj property" action. This allows for very interactive and dynamic experiments. Please see the "Object Properties Tables" page for detailed chart of all object types and their properties.
In the Task Editor, the appearance of objects can be changed to make editing your study easier. There are 2 object properties which allow you to do this: lock and hide.
- Lock: Clicking on the small padlock icon next to an object's name in the Objects tab will lock its position on the frame. This prevents accidental movement of or changes to the object as you are editing the study.
- Hide: Clicking on the small eye icon next to an object's name in the Objects tab will hide the object from view on the frame. This is useful if you have multiple objects on the frame at once and want to only see one or mroe at a time as you are editing.
Both of these properties are only active while editing the study. Locking or hiding an object in the Task Editor will not change how the participant sees that object during the study.
Object List and Custom Properties
- Image Object: The image object can be used to show an image on a canvas frame. The image can be set manually via the file manager, but can also be changed dynamically during experiment execution using events and variables (data type file).
- Video Object: The video object can be used to present a video on a canvas frame. The video can be set manually via the file manager, but can also be changed dynamically during experiment execution using events and variables (data type file).
- Audio Object: The audio object can be used to present an audio file on a canvas frame. The audio file can be set manually via the file manager, but can also be changed dynamically during experiment execution using events and variables (data type file).
- Video Recording Object: This object can be used to record a video of the participant, a recording of their screen, or both at once. There are several options that can be enabled/disabled: showing the recorded video to the participant live or later in the experiment (or not at all), allowing the participant to control the start/stop/upload of the video, and determining where the video is stored as a variable. Using a video recording object also records audio from the participant.
- Camera Snapshot: This object can be used to take a picture snapshot of the participant. To do this, video recordings must be enabled for the experiment. Options to show the camera button, snapshot button, and upload button can be hidden or shown to the participant. Events can be used to trigger the camera snapshot, or the participant can control it themselves. This tool is useful for verifying identity/demographic information of the participant, but should be treated as highly sensitive information. The snapshot is stored as a file variable.
Note: Recording a video/image of a subject or their screen can be highly sensitive. Please ensure participants are fully aware of what the experiment entails before they begin.
Note: When a webcam of any kind is used in a study (for eyetracking, video, snapshot, etc.), participants will be prompted to select which camera they would like to use at the start of the study. This allows participants to select a connected external camera if they do not wish to use a built-in webcam system.
- Audio Recording Object: The audio recording object acts as a visual interface / handle for sound recordings during the experiment execution. The recording can be started and stopped via buttons, frame events, or other object-triggered events, and can be uploaded to the secure Labvanced server.
- I-Frame Object: The I-Frame Object can be used to display an I-Frame (embedded other website) inside the experiment.
IMPORTANT: In order for the I-Frame to be displayed, the server controlling target URL must set the http header "Access-Control-Allow-Origin" to be either "*" or it must include "labvanced.com" NOT set the http header "X-Frame-Options"
- Invisible Object: The invisible object is never visible to participants but can trigger events, so that events can be triggered by mouse events on seemingly empty regions on the canvas.
- Display Text Object: This object presents text and/or variables to participants on a frame. Users can type and edit texts using the "word-like" text editor (toolbar) on top of the frame. Variables can be inserted into text elements so that their current value will be shown (and automatically updated) on the screen.
Buttons & Navigation Objects
- Button Object: A standard button whose label can be edited and can trigger events using the trigger "ButtonClick". A button click can also be recorded as a participant response variable.
- Navigation Object: This object appears as two buttons with two pre-created associated events, allowing the subject to navigate back to the previous frame or forward to the next frame.
- Progress Bar Object: The progress bar can be used to display the progress of the experiment in percentages.
- Checkbox Element: A question element where participants can select one or more responses.
- Multiple Choice Element: A question element where participants must select only one choice.
- Likert Scale: A question element often used to indicate level of agreement with a statement. Participants can choose a response that falls somewhere in between two prompts.
- Matrix Element: An element where several questions or statements can be shown as rows. Each statement is answered within same scale, shown in the columns.
The "required" property of these objects can be changed dynamically during runtime of the study. Objects will only be shown as required as long as they are not hidden (visibility = 0).
The order of responses can be randomized for these objects using the "randomize item order" checkbox in the Object Properties window. If you wish to record the order that the choices are presented in after setting them to random, you can check the box labeled "Link Order to Array." This will create an array variable that stores the order of the choices presented for that element, called "itemOrderArrVar" by default. The array records the integer value of the choices as defined in the editor in the order that they are shown from top to bottom of the element. The positions and values of the entries can be edited in the Variables tab for each of the "itemOrderArrVar" variables.
- Input Object: Used for participants to insert short responses. This element can collect responses in the form of numbers (numeric), text (string), dates, times, and colors.
- Paragraph Object: Similar to the Input object, but used for longer responses. Responses are text (string) variables.
- Range Object: Using this element, participants can give a response using a sliding tool. Users can set this object to show numeric values (left bound, right bound, and the participant’s response as a number above the slider) or choose to leave it blank.
- Selection Object: A question element where responses are picked from a dropdown menu that the experimenter populates with possible responses.
- This object can be translated into different languages.
- Available responses can be changed dynamically by linking the object to an array variable.
- Sortable Object: A question with several elements that can be sorted using drag & drop methods.
- Upload Object: Participants can use this object to upload files into the experiment (which are then stored in the Labvanced server) for the experimenter to access later.