Hello, Welcome to Microsoft Q&A,
You can take a look at MRTK, Mouse device is available out of the box as an input provider. And you can assign the input actions of the mouse button via the Controller Input Mapping Profile, under the Input System Profile in the Mixed Reality Toolkit component.
In the default Mouse Controller configuration, Left Mouse Button is mapped to Select and Right Mouse Button is mapped to Menu.
----
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.