Note: This documentation is for the old 0.5.0 version of A-Frame. Check out the documentation for the current 1.5.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
resetSensor Enables to shortcut to press ‘Z’ to reset the sensor. true