Skip to main content

get_list_item_idx

Function get_list_item_idx 

Source
fn get_list_item_idx(
    curr_entity: Entity,
    target: &Query<'_, '_, &CarriageListItem>,
    children: &Query<'_, '_, &ChildOf>,
) -> Option<usize>
Expand description

Find parent with CarriageListItem component and returns the index.