📋 Metadata

💬 Content

roaoao, I’m trying to make a button to move selected objects to center. It works if I type this text in “Command”:

bpy.context.object.location[0] = 0

but for active object only. What do I need to add to the command to make it move not just one but all selected objects to center on one axis?


🔗 View on Blender Artists