does anyone know a way to detect a right click aside from carrot/mushroom on a stick?

i think you can maybe use the [minecraft:blocks_attacks=(value:1)] compenent to detect when a player right clicks but im not sure and want to know if im right

Continue to help post