Description
The Get Color behavior will retrieve the color of the object. You can then output this to use with other behaviors. Note that this returns the object tint that you set using the color chooser in the Object Properties, or the color you set using the Set Color behavior.
This behavior will Trigger an event immediately when executed. As soon as the behavior is executed it will return the objects color/tint.
Properties
Object A |
The object you want to get the color from. By default the current object is selected, but you can tap the graphic and choose any other object in your scene. |
Outputs
RGBA |
This is the color of your object returned as a HEX value. Eg. White is #FFFFFFFF |
Object ID |
This outputs the Object ID. |
Examples
If you changed the color of your object, and what to see what color it is you can use the Get Color behavior to retrieve the new color.
Related
0 Comments