Scripting

Search The Documentation:

  1. Home
  2. Docs
  3. Scripting
  4. Sprite
  5. setSpriteColor

setSpriteColor

Platform Compatibility

PC Mac OSX Oculus Quest
X X X

Set color in R,G,B,A

Parameters:

  • color
    • A string value

Example:

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

How can we help?