Is it possible to directly call on a function from within another function? For example
[lua]local function secondFunction (e)
statement1 = true
–For example:
callFunction (mainFunction)
end
btn:addEventListener (“touch”, mainfunction1)
[/lua]
I say this because my main function is separated by a true/false statements from another source. So I’m making a separate function to change a statement into being true and then calling on the main function.
Thanks for any help!! [import]uid: 35535 topic_id: 31451 reply_id: 331451[/import]