add this to your scene.addCircle()
- Code: Select all
color := {{sim.time == 10} ? {[0, 0, 1, 1]} : {[0, 0, 0, 1]}}
Or is the problem a different one?
[edit]
oh ok... just tested it out. now i know what your problem is. so forget about this post.
but that's weird... i try to do something else if i have an idea.