Is it possible to store an EditBone in a PointerProperty?

Hello!

Like the title says, I’m want to store a reference to a bone but it seems like I can’t do that with a PointerProperty, this error: TypeError: PointerProperty(...) expected an RNA type derived from ID or ID Property Group

After searching a bit, I realized that Bones don’t inherit from ID.

I’m trying to avoid storing the name of the bone in a StringProperty because renaming the bone would
break things.

If you have a way around this or an alternative solution, that would be great!

1 Like