Hi, the setup I have is a main.lua scene that requires a bunch of modules, one such like so:
mNav = require(“mNav”)
This is not local to main because we want to access functions within mNav in other scene modules, like this in the page_1.lua module:
page_1.lua
mNav.new() – calls function mNav.new in mNav.lua.
Question, how do we make mNav local to other modules given it has already been required in main.lua.
Does local mNav = mNav within other modules such as page_1.lua do it?
Using Director.