📋 Metadata
- Author: Adam_Szalai
- Date: 2022-07-31 11:55:19
- Type:
question - Reply to: post_04474
- Replies (1): post_04483
💬 Content
Motiomancer
Thank Youm it worked perfectly!
Just curious how do You know how to “convert” a toogle command into this true false? 
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()