What is the best way to structure ue4 code

Hi,

I would like to create a “library” with my c++ functions but i don’t know what is the best with ue4.
There are modules but i don’t know if it’s appropriate.
And if you have some another advice about code structure, it’s always good to take :slight_smile:

Thanks for your help and sorry for my english.

Hey perrin_l77-

If you want to make a library of functions that are available across different classes/blueprints in the editor then the best option would be to create a bluperint function library (Blueprint Function Libraries in Unreal Engine | Unreal Engine 5.1 Documentation) that holds each of the functions you want to have access to.

Cheers