In the following code, a.visible = False affects b:
#!/usr/bin/pythonfrom __future__ importprint_function, divisionfromvisualimport*importtimea=sphere( pos=(-1,0,0) )
b=sphere( pos=(1,0,0) )
time.sleep( 1 )
a.opacity=.75time.sleep( 1 )
a.opacity=1time.sleep( 1 )
a.visible=Falsetime.sleep( 1 )
a.color=color.red
In the following code,
a.visible = Falseaffectsb: