Controlling Slider with Laserpointer

Hi,
I’m trying to control a slider with a SteamVR Laserpointer in world space for a VR-App, but can’t find a nice solution.

For controlling buttons I got:

btn = e.target.gameObject.GetComponent<Button>();
if (btn != null)
            {
                btn.onClick.Invoke();
                controller.TriggerHapticPulse(1000);
            }

Is there maybe a similar way to control the Slider?
Thanks in advance!

I’ve decided to go with the Vive Touchpad…

if (controller.GetTouch(touchPad))
    {
        slider.value = Mathf.InverseLerp(-0.8f, 0.8f, controller.GetAxis(touchPad).x);
    }