I’m having some trouble with while true statements in python, I’m trying to just change the color of cube over and over again as a test, but it’s not working and instead crashes that tab. Here’s the code I’m currently using, it shouldn’t be that hard to compile: from delightex import *
import random
testCube = scene.get_item(“Test Cuboid”)
while True:
testCube.color = Color(random.randint(0, 255), random.randint(0, 255), random.randint(0, 255))
That’s it. That’s the entire code. In the scene it’s one cube and one camera! What’s happening? Does Delightex just not like while true statments?