Hi
I want to access a variable “display.newText” into a module
tools.lua
local module1 = require ("module") local text = display.newText ("text", 500, 500, native.Systemfont, 50)
module.lua
local M = {} - How to access text variables from the tool.lua here? return M
What should I do ?.
Can you give me a guide for this?
thank you