Construction script in Widget blueprint

You can make functions, just like you have done in your construction script.