Momentary Button, Control Value and Mouse Clicks

I have a momentary button that has its control value linked to an OPC tag. It appears that the button will toggle the OPC value when either mouse button is pressed.

Is there a way to limit the control value changes to only the left mouse click (not the right)?

This post is a duplicate of your other post.

It is against forum policy to post duplicates threads.

Sorry I'll post there. I thought this question was unrelated so I intentionally created a separate topic.

Feel free to delete this post.