Based on Solar2D Documentation β Developer Guides | Events/Listeners, tap is a single action but why does it output 2 values (see example below)?
Sample code:
local function listener(event)
print("a")
end
text:addEventListener("tap", listener)
Output:
a
a
P.S. Both values are printed at the same time