how do i add right click function>

how do i add right click function to an item?

Continue to help post