You can do it in editor with an editor script, though editor scripting is only unofficially supported so be careful (definitely make a checkpoint before).
Check this thread, it’s old but most of the content is still valid:
You can do it in editor with an editor script, though editor scripting is only unofficially supported so be careful (definitely make a checkpoint before).
Check this thread, it’s old but most of the content is still valid: