
动作组
The Action Group in Labvanced serves as a structural tool that can be used to organize multiple actions under a single event. It does not change how or when actions are executed, but it does help you keep your experiment logic clean and well-structured.
Furthermore, by grouping related actions together, you can quickly duplicate entire blocks of logic instead of recreating them step by step, which significantly speeds up experiment design.
概览
An Action Group acts as a visual container for actions inside an event. It allows you to group related actions together so that your event logic is easier to read, navigate, and maintain.
Beyond organization, it also improves workflow efficiency. Instead of copying and configuring multiple actions individually, you can duplicate a single Action Group and adjust only the necessary parts. This is especially useful in experiments with repeated logic patterns.
Importantly, grouping actions does not affect execution behavior. All actions under the same trigger will still run according to their defined order, regardless of whether they are grouped or not.
As an experiment grows, grouped actions are also quicker to understand and debug, and the structure stays clear as the design scales.
常见用例
- 组织长列表的动作
- 逻辑相关步骤分组(例如,“正确性评估”、“刺激随机化计算”)
- 在类似事件之间重用一组动作
- 通过复制预配置的逻辑块加快开发速度
工作原理
The Action Group wraps a set of actions inside a collapsible container within the event editor.
Typical structure:
- 动作组(例如,“玩家1视图”)
- 动作1
- 动作2
- 动作3
You can:
- Add actions inside the group
- Rename the group to reflect its purpose
- Collapse or expand the group for easier navigation
- Duplicate / copy the entire group
工作流程提示
- 对您的组使用描述性名称(例如,“处理响应”、“刺激显示修改”)
- Duplicate entire
Action Groupsinstead of copying individual actions one by one - After duplicating, simply adjust the necessary values (e.g., target objects, variables, or conditions)
- Collapse groups to reduce visual clutter when working with large events