Scripting

Search The Documentation:

  1. Home
  2. Docs
  3. Scripting
  4. GameState
  5. setPlayerEnabled

setPlayerEnabled

Platform Compatibility

PC Mac OSX Oculus Quest
X X

Enable player

Parameters:

  • _tf
    • A boolean value

Example:

1
obj.setPlayerEnabled(_tf)
Tags
Was this article helpful to you? Yes No

How can we help?