How do I set the color of an object? #244
Unanswered
jbaicoianu
asked this question in
FAQs
Replies: 1 comment
-
To set to initial color of an object, you can simply set the col parameter of the object in your JML:
You can then use the js_id of your object to update the object's color, or any other setting in your room script:
You could also use many other techniques to trigger the desired change in color value, such as a touch event, gaze event, proximity trigger, or even a 2D element with a onload or onclick event. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How do I set the initial color of an object, and how do I update it from a script?
Beta Was this translation helpful? Give feedback.
All reactions