Can I post source code for a user created c++ blueprint node?

I wanted to know if it was ok to post the c++ source code for a basic sorting function that I wrote to expose “sort” to blueprints in a YouTube description of a tutorial video? It uses Unreal’s “sort” function but since that only sorted in ascending order I also added a bubble sort algorithm to sort in descending order. There is no algorithm directly from Unreal that is visible just a call to the sort function and then obviously all of the Unreal syntax necessary to make it work. I can email the code if that is preferable? Thanks.

Yes you are free to post your own code whatever you like and it does not matter if you call UE4 function, infomration about those are publicly avable in API reference anyway. The line limitation is only for showing engine source code itself as access to it is only limited to registered users and can not be published else where then Epic’s sources. So as long as you don’t show UE4’s Sort function source (from UE4 github for example and this includes any copy of it) it is ok

I figured as much but I just want to be sure. So hopefully someone from Epic Staff can comment on this too. Thanks for the answer though.

is correct.

Ok thanks for the clarification!