summaryrefslogtreecommitdiffstats
path: root/modules/mobile_vr/doc_classes/MobileVRInterface.xml
diff options
context:
space:
mode:
Diffstat (limited to 'modules/mobile_vr/doc_classes/MobileVRInterface.xml')
-rw-r--r--modules/mobile_vr/doc_classes/MobileVRInterface.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mobile_vr/doc_classes/MobileVRInterface.xml b/modules/mobile_vr/doc_classes/MobileVRInterface.xml
index 0dbe06d220..61d802aea3 100644
--- a/modules/mobile_vr/doc_classes/MobileVRInterface.xml
+++ b/modules/mobile_vr/doc_classes/MobileVRInterface.xml
@@ -10,7 +10,7 @@
[codeblock]
var interface = XRServer.find_interface("Native mobile")
if interface and interface.initialize():
- get_viewport().xr = true
+ get_viewport().use_xr = true
[/codeblock]
</description>
<tutorials>