other way to go into VR mode

Can anybody tell me a way to go into VR mode other than cesium's default VR button.
is this possible using three.js
plz tell me the way.

Hello,

You can trigger the VR button through code. Here is an example:

var viewer = new Cesium.Viewer(‘cesiumContainer’, {
vrButton : true
});

viewer.vrButton.viewModel.command();

``

Best,

Hannah