remove_smart_object_slot_entrance_annotation
Removes an entrance annotation by index from a slot in a USmartObjectDefinition; already-absent indexes return without error.
Instructions
Remove an entrance annotation (by its index among the slot's entrance annotations) from a slot of a USmartObjectDefinition. entrance_index counts only FSmartObjectSlotEntranceAnnotation entries in the slot's DefinitionData (mirror of add_smart_object_slot_entrance_annotation, inverted). Idempotent: an entrance_index past the number of entrances returns already_absent without error.
Returns: { definition_path: string, slot_index: int, entrance_index: int, entrance_count: int, data_count: int, removed: bool, already_absent: bool, saved: bool }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slot_index | No | Index of the slot to edit | |
| entrance_index | No | Index among the slot's entrance annotations to remove (0-based; entrances only, not all definition data) | |
| definition_path | Yes | Path to the USmartObjectDefinition asset |