Post #4778: Sorry for the lack of explanation! Also, I thought you could use it by typing it
📋 Metadata
- Author: Pluglug
- Date: 2023-07-08 15:20:29
- Type:
answer - Quality Score: 8/10
- Reply to: post_04777
- Replies (2): post_04779, post_04781
🏷️ Tags
pie-menu properties intermediate solved
⚙️ Related PME Features
- Property Editor
- Pie Menu Editor
- Python Scripting
💬 Content
Sorry for the lack of explanation! Also, I thought you could use it by typing it in the Property tab, but I was wrong, you need to use PME Property.
Create a Property and configure it as shown in the following image.
# Getter
return bpy.context.active_object.color[3]
# Setter
bpy.context.active_object.color[3] = value
Then in any menu item, call it using the Property name.

Please call me back if you have any questions.
❤️ 4 likes
image733×576 57.3 KB