Post #2638: Ma

📋 Metadata

🏷️ Tags

popup-dialog custom-scripting intermediate solved

  • Custom Tab
  • Python Scripting
  • Property Editor

💬 Content

MatsuikoHiroka:

i only want X lock rotation toggle
how to achieve this?

L.prop() function has index argument. You can use it in Custom tab:

L.prop(C.object, "lock_rotation", text="", index=0)

❤️ 2 likes


🔗 View on Blender Artists