Search found 1 match
Search found 1 match • Page 1 of 1
- Fri Jul 13, 2012 7:24 am
- Forum: Python
- Topic: Add game property to selected objects.
- Replies: 0
- Views: 488
I would like to add a specific game property to all objects selected. The only way to add it that I see is to use: bpy.ops.object.game_property_new() which cannot be used in an scenario like: for obj in bpy.context.selected_objects ... obj.game_property_new(...) ... Can anyone throw me a hint? thanks!