Ask AI (something like chat GPT), the settings are whatever tab you are using on in this case it will be on tick, global variables are likely correct (but AI may add or remove), then there's the custom functions section, you may not need to add anything here, let AI decide, the first line in settings needs to call the custom function (if ones used by using the name (the first line) of the function, Say all this to AI, give it your code and the sections it's in, it will then advise changes, then test what it gives you, any compile errors you get on the the used project will tell you and AI where the problems lye, anything can be used in custom block code that you have change in inputs, the code just needs to reference it. GlobalVariableGet() for example will get the value from anything the custom block has set.
N