how would i make it so my vive cosmos works on vr preview

so i can make a walk button and make a menu but idk how to make the buttons so it accually works in vr anyone know what i should do

Someone help please