NOTE: This version of the documentation tracks unstable development happening on A-Frame’s master branch. If you wish to try it out, grab the unstable build. Otherwise, head to the documentation for the current 1.6.0 version

The keyboard-shortcuts component toggles global keyboard shortcuts. The keyboard-shortcuts component applies only to the <a-scene> element.


<a-scene keyboard-shortcuts="enterVR: false"></a-scene>


Property Description Default Value
enterVR Enables the shortcut to press ‘F’ to enter VR. true