Code Blocks is in Beta!
Change the text and color of the Text3D spot.
This example shows how to use the .text and .color properties of the text spot
Preview
Spots
Blocks code
var textSpot = Space.getSpot('Text3D')
function onClick(events)
{
if (events.spot.name = textSpot.name)
{
//Change the text to: new Color
//Change the color to a new RGB color
textSpot.text = 'new Color';
textSpot.color = Color(34/256, 143/256 , 250/256);
}
}