📋 Metadata

💬 Content

Motiomancer

Thank Youm it worked perfectly!

Just curious how do You know how to “convert” a toogle command into this true false? :slight_smile:
I mean the toogle command looks totally different from the true false one.

bpy.ops.view3d.toggle_xray()



C.space_data.shading.show_xray = True

I’m asking this beacuse i have another player that i would set to a certain value instead of toogle

bpy.ops.object.editmode_toggle()

🔗 View on Blender Artists