maybe you want to check out this video( and others).
This youtuber shows us in part one of this video how to use SC function and re-use the code somewhere else in SC.
Very good tips!
Don’t forget to like this video so she can share part 2 with us.