Post #4774: If you check the tooltip, you will see that you can get it with color. This pr

📋 Metadata

🏷️ Tags

scripting intermediate solved

  • Python Scripting
  • Property Editor

💬 Content

If you check the tooltip, you will see that you can get it with color. This property has four values, RGB and alpha channel, the fourth being the alpha channel, which can be accessed with bpy.context.object.color[3].
How exactly you implement this depends on your workflow, but consider making sure there is an active object, or limiting it to Mesh objects, etc.

imageimage1492×568 178 KB


🔗 View on Blender Artists