This tool filters the layer panel by layers that have keys, so you can easily see what layers have been animated.
Click the tool again, to see all layers again.
I'd suggest disabling Moho > Preferences > Layers/Objects > 'Search filter always shows parent layers of matching items' for best results.
Download link:
LK_ToggleKeysFilter - Filter layer panel by animated layers
Moderators: Víctor Paredes, Belgarath, slowtiger
Re: LK_ToggleKeysFilter - Filter layer panel by animated layers
Great idea! Thanks for sharing
Re: LK_ToggleKeysFilter - Filter layer panel by animated layers
I re-uploaded the .zip linked in the original post and included another button that does a similar thing (you need the new utility file too):
At first I was thinking of putting these both in a single button, but you don't always want to do both at the same time.
- LK_HideStaticLayers
At first I was thinking of putting these both in a single button, but you don't always want to do both at the same time.
- synthsin75
- Posts: 9968
- Joined: Mon Jan 14, 2008 11:20 pm
- Location: Oklahoma
- Contact:
Re: LK_ToggleKeysFilter - Filter layer panel by animated layers
I did something similar here: https://www.lostmarble.com/forum/viewtopic.php?t=31246
- Wes
Donations: https://www.paypal.com/paypalme/synthsin75 (Thx, everyone.)
https://www.youtube.com/user/synthsin75
Scripting reference: https://mohoscripting.com/
Donations: https://www.paypal.com/paypalme/synthsin75 (Thx, everyone.)
https://www.youtube.com/user/synthsin75
Scripting reference: https://mohoscripting.com/
Re: LK_ToggleKeysFilter - Filter layer panel by animated layers
Ah of course you didsynthsin75 wrote: ↑Fri Aug 20, 2021 5:55 pm I did something similar here: https://www.lostmarble.com/forum/viewtopic.php?t=31246
I didn't know of MohoLayer:ClearLayerKeyCount(), that's interesting. I did it differently because I got weird results without the clearlayerkeycount function and now I know why! Might adopt it if I ever need to update it.
My script also sets and clears the filter for the layer panel so you don't have to filter manually and the tag disappears when you're not filtering.
- synthsin75
- Posts: 9968
- Joined: Mon Jan 14, 2008 11:20 pm
- Location: Oklahoma
- Contact:
Re: LK_ToggleKeysFilter - Filter layer panel by animated layers
Great minds think alike.Lukas wrote: ↑Sun Aug 22, 2021 9:09 amAh of course you didsynthsin75 wrote: ↑Fri Aug 20, 2021 5:55 pm I did something similar here: https://www.lostmarble.com/forum/viewtopic.php?t=31246
I had forgotten I used that.I didn't know of MohoLayer:ClearLayerKeyCount(), that's interesting. I did it differently because I got weird results without the clearlayerkeycount function and now I know why! Might adopt it if I ever need to update it.
Yeah, yours sounds like it automates more of the process.My script also sets and clears the filter for the layer panel so you don't have to filter manually and the tag disappears when you're not filtering.
- Wes
Donations: https://www.paypal.com/paypalme/synthsin75 (Thx, everyone.)
https://www.youtube.com/user/synthsin75
Scripting reference: https://mohoscripting.com/
Donations: https://www.paypal.com/paypalme/synthsin75 (Thx, everyone.)
https://www.youtube.com/user/synthsin75
Scripting reference: https://mohoscripting.com/
Re: LK_ToggleKeysFilter - Filter layer panel by animated layers
Thank you, both are very good solutions. And a combination of both would probably be even better: to have a handy automatic button like Lukas did but to be based on tags so you can go back to normal without having to show all layers. But I don't know if that's possible.
Re: LK_ToggleKeysFilter - Filter layer panel by animated layers
Yeah that's possible. I'm using the buttons as they are now for a while though. They are suited for my projects. But I'll keep it in mind.Daxel wrote: ↑Mon Aug 23, 2021 12:26 am Thank you, both are very good solutions. And a combination of both would probably be even better: to have a handy automatic button like Lukas did but to be based on tags so you can go back to normal without having to show all layers. But I don't know if that's possible.