Hey developers,
I had a question about how I can organize my code like this:
https://gyazo.com/5edd93b64b02efc74aee07fc888ac6b8
In other words, I do not want one massive module, but instead, separate modules. I am not sure how I can achieve this. Any help would be great.
if you didnt know you can require a module using a module
Yeah, I know, but what I am really asking is how I would be able to interact between them. For example, lets say I have 10 module scripts for the tools, I don’t want to have 10 variables for each module script.
You could have all the modules do some specific function, then require those modules in a main handler module. Then require the handler in a normal script.
3 Likes
Thank you, that was the answer I was looking for.
1 Like