add_mapping_trigger
Add a trigger to an input mapping in an Input Mapping Context by specifying the context asset, mapping index, and trigger type.
Instructions
Add a trigger to a specific mapping in an Input Mapping Context.
Args: context_path: Path to the IMC asset mapping_index: Index of the mapping (from get_input_mapping_context) trigger_type: Trigger class name (e.g. "InputTriggerPressed") properties: Optional trigger properties
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| properties | No | ||
| context_path | Yes | ||
| trigger_type | Yes | ||
| mapping_index | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |