Enter Username [Solved]


Is it possible to design a solution which prompts the learner to enter his/her name? And then we use the name throughout the AR experience to make it more personalized?


In studio you can use Z.Prompt it gets a keyboard.




Thank you Steve. But I want to know where does the name get saved and how do I use it throughout the experience? Is it a variable?


In the doc there is a demo code

myprompt.on("confirm", function(theirEntry : string) {
  console.log("They entered: " + theirEntry);

The data is saved in the theirEntry variable. Witch you can reuse in your experience.