Scripting

Search The Documentation:

  1. Home
  2. Docs
  3. Scripting
  4. Math
  5. getScreenWidth

getScreenWidth

Platform Compatibility

PC Mac OSX Oculus Quest
X X

Return screen width

returns an Integer (whole number) value

Example:

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

How can we help?