how to detect if a player started consuming an item

it should only happen on the first tick the player starts consuming the item. Ik there's a tutorial in the datapack helper bot but when I use that tutorial it detects the consumption every tick. what I want is for it to happen only on the first tick of consumption

Continue to help post