📋 Metadata

💬 Content

It is possible to create button when i click on it is toggle command

 bpy.ops.view3d.toggle_xray()

to show on the viewport X-ray On / X-ray Off info.
Or even always show info on the HUD X-Ray ON / X-Ray Off


🔗 View on Blender Artists