How to only export part of blueprint

I recently made a unique blueprint that I would like to release through the marketplace. However, this piece of code would typically a part of the player character. Is the adequate way to release this to simply upload the entire player character blueprint? Is there a way to place the code I want to release in a separate blueprint that people can copy/paste over from? Also, which way is more acceptable?

Hello NightHawk,
the best course of action may defer depending on what you’re trying to achieve, but in most cases putting your logic in an ActorComponent Blueprint would be the best approach.
You can find Epic’s documentation here: Components in Unreal Engine | Unreal Engine 5.2 Documentation

I hope this will help you :slight_smile:

That actually should help quite a bit. Thanks!