Steamvr laser pointer not interacting with ui buttons

So im just a beginner. im trying to make the laser pointer works such that when i point and click the pointer it execute the animation when button is press. Can anyone help me?

It should act just like mouse button 0 to the input system.

so im using vr and i do have the same problem so how