Right Click Enchantment

I want to make an enchantment that detects right clicking. Pretty simple, but idk how to do this.
Continue to help post