Scripting

Search The Documentation:

  1. Home
  2. Docs
  3. Scripting
  4. Examples
  5. Text On Click

Text On Click

Platform Compatibility

PC Mac OSX Oculus Quest
X X X

Change the text on a click of a button. Learn more about onClick!

1
2
3
function onClick(type)
    obj.set3DText("You Clicked Me With: " .. type)
end
Tags
Was this article helpful to you? Yes No

How can we help?