How to Keep Reference Layer Style Different from Original Without Breaking Sync?

General Moho topics.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
User avatar
tifacloud7
Posts: 10
Joined: Wed May 21, 2025 3:01 am

How to Keep Reference Layer Style Different from Original Without Breaking Sync?

Post by tifacloud7 »

Hi everyone, I have a question about reference layers and styles.

I'm trying to make a reference layer use a different style than the original layer.
At first, it works — I can change the style just fine.
But after a while, the reference layer's style resets and becomes the same as the original again.

I understand that breaking the reference link would allow me to change the style permanently,
but I really need the paths to stay fully synced between the two layers.

So my question is:
:arrow: Is there a way to keep the reference layer's path synced, but have its style stay different from the original — without breaking the reference?

Any tips or suggestions would be greatly appreciated.
Thank you so much in advance! :)
User avatar
Greenlaw
Posts: 10437
Joined: Mon Jun 19, 2006 5:45 pm
Location: Los Angeles
Contact:

Re: How to Keep Reference Layer Style Different from Original Without Breaking Sync?

Post by Greenlaw »

Hi tifacloud7!

By default, the Custom Styles in the Reference will always refer to the Custom Styles used in the original, so you can't edit them directly. You must break the connection with the Custom Style, so that the one used in the Reference will become unique.

Here's an example from my experience: Back when I was working on Boss Baby, I needed to make many dozens of cats. (Clips from the episode can be seen in one of my demo reels.) To do this, I made a single cat character, and then saved seven copies of the scene (to make 8 unique cats,) and changed the Custom Styles of each by simply renaming them and making the Style changes. Like you, I found this appeared to work at first, but when I imported all of the cats to the same project file as the original, the Styles regressed to the original style.

That's when I learned about Style IDs. I mistakenly thought changing the names of the Custom Styles would make them unique, but as it turns out, Moho recognizes only the Style ID, not the name. Changing the Style IDs will allow each copy or reference to have a unique custom styles that work independently from other copies/references.

Fortunately, changing the Style IDs is easy to do.

First, don't do what I did, which was to open each copy in a text editor, search for the Style ID, and change it manually in each copy. This made sense to me at the time, and it did work, but it's also not necessary.

Instead, use Moho's Import command to bring a copy or a Reference into a new project. This can be a copy or a Reference of itself if you desire. A window will pop up with two options in the bottom right corner.

The first option is Import By Reference, which will create a link to the original, similar to what happens when you make the Reference inside the Layer Window. If you want a Reference, check this option.

The second option is Unlink Shared Styles, and this is one is critical. What Unlink Shared Styles does is it changes the Style ID for any Custom Styles it finds in the imported items. It's normally checked on by default, but if it isn't, be sure to check it on now. Continue with the import.

If you checked Import By Reference, you should see a Reference copy in your project; otherwise, it will be a duplicate copy. But the important thing is that the second copy now has its own Custom Styles that you can change. Trust me, this procedure is MUCH easier than opening each file in a text editor and changing the values manually, especially if you're using many Custom Styles. :P

Tip: If you import the reference to its own project, it's easier to change the Custom Style names to have unique names, and then import the Reference. Otherwise, you will see the Custom Styles appear multiple times in the project with identical names. Note that you can change the names of the copies without this step, but it can be a little confusing to identify which Style belongs to which item if you have many copies.

Changing the Style IDs for Duplicates and References takes a little planning, but it's not hard to do when you understand how it works. I'll think about making a tutorial on this topic since it may not be fully clear in the text-only explanation above. But, until then, if you have questions, feel free to ask.

I hope this helps.
User avatar
tifacloud7
Posts: 10
Joined: Wed May 21, 2025 3:01 am

Re: How to Keep Reference Layer Style Different from Original Without Breaking Sync?

Post by tifacloud7 »

Hallo Greenlaw <3

Thank you so much for your prompt and detailed response.
This kind of knowledge clearly comes from extensive hands-on experience, and I truly appreciate you taking the time to share it. :D

That said, I still have one more question regarding reference layers. :oops:

If I create a reference layer for just one shape within a file,
is it possible to make that reference layer use a different style from the original layer's Style 1?

To avoid confusion, I’ve attached a screenshot of my Moho workspace to better illustrate what I’m trying to do.

Image

Image

Image

Image

Image


From what I’ve tested so far, it seems like this may not be possible —
but I wonder if you've encountered a similar situation before?

Thanks again for your help! :D
Last edited by tifacloud7 on Sat Jun 14, 2025 7:11 am, edited 2 times in total.
User avatar
Greenlaw
Posts: 10437
Joined: Mon Jun 19, 2006 5:45 pm
Location: Los Angeles
Contact:

Re: How to Keep Reference Layer Style Different from Original Without Breaking Sync?

Post by Greenlaw »

Hi,

I can't see the images above, but I tried changing the Styles in a Reference. I have to confess, I was a little surprised by the result, but it seems to work fine here.

Image

In this example,

1. I selected the Original's layer and shape, and changed its Style.
2. Then I created a Reference of the Group.
3. I selected the layer and shape in the Reference layer, and changed its Style.
4. I saved and closed the file, then reopened it. The Style change is still there.

I think this works here because I used a Regular Style rather than a Custom style, so technically, I changed the keyframe for this Style.

I'll have to think about this some more, but anyway, it seems to work here. Is this not what you're seeing?
User avatar
tifacloud7
Posts: 10
Joined: Wed May 21, 2025 3:01 am

Re: How to Keep Reference Layer Style Different from Original Without Breaking Sync?

Post by tifacloud7 »

I'm surprised that you're not able to see the image, because it appears to be displaying normally on my end.
Maybe I inserted it the wrong way?

Thank you again for your prompt reply.
However, the part about changing the style seems a bit different from what you showed.

Please allow me to explain it more clearly with a video.
If you're still unable to view the video, please let me know — I'd really appreciate it!

https://youtu.be/LgpJkHx5Jyk
User avatar
tifacloud7
Posts: 10
Joined: Wed May 21, 2025 3:01 am

Re: How to Keep Reference Layer Style Different from Original Without Breaking Sync?

Post by tifacloud7 »

I also tried using a different image hosting platform.
Hopefully, this fixes the issue with the image not displaying properly. :oops:
tifacloud7 wrote: Sat Jun 14, 2025 4:13 am
Image

Image

Image

Image

Image
Post Reply