So I have quite a lot of buttons in my app. Therefor I made a lot of
if event.phase == "ended" then
end
for touch events. But sometimes I want to run the function without the touch. What do I do? I tried figuring it out for a whole 2 minutes and couldn’t come up with anything =D hoping someone can just give me the answer.
Something like
if event.phase == "ended" or functionIsCalled then
bla blaa
end
Anyone? [import]uid: 77199 topic_id: 33652 reply_id: 333652[/import]
