Hello,
is it possible to add extra values to an ecentListener?
I am using this at the moment:
[lua]
local function Oefening1(event)
end
oefening.i1:addEventListener(“touch”,Oefening1)
[/lua]
could I add a value and have something like this:
[lua]
local function Oefening1(event,x)
print(x)
end
oefening.i1:addEventListener(“touch”,Oefening1,5)
[/lua]
So it would print the value I am sending with it?
Thanks