Mobile page on Docs uses invalid "experience" global

Reproduction steps:

  1. Visit Mobile | Roblox Creator Documentation
  2. Scroll down to the code example.

Expected behaviour:
The example code should be valid and I should be able to run it in a script

Actual behaviour:

image

The example code tries to call :GetService on a global called “experience”. This does not work (I checked myself), and should be game.

Issue Area: Documentation Site
Issue Type: “clbuttic mistake”
Impact: Low
Frequency: Always

4 Likes

We’ve filed a ticket to our internal database for this issue!

Thanks for flagging!

1 Like

This is still an issue as of the 22nd of April, 2023.

Still occurring as of 3rd of May, 2023.

Thank you for flagging! I have updated the code sample to reflect game:GetService.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.