How to freely move a car using a thumbstick vr

hello dear
I have a problem and I hope to solve it.
I have Meta Quest 2… and I’m building a game using cospaces. The game, in short, is a car wandering around a city, and we use the thumbstick to click on traffic lights to show what to do…and I use movement when pressing “W” or “UP” to move forward. It works perfectly on the browser, but when using it on VR…using the thumbstick joysticks in motion does not work.
How to freely move a car using a thumbstick vr