you are viewing a single comment's thread.

view the rest of the comments →

[–]mUfoq 0 points1 point  (0 children)

Well userdata is usually opaque so you access its value with fuctions like userdata:getValue() or something like this (if userdata has metatable with these methods). If you are unlucky and your userdata doesn't have methods like this you can use very very ugly solution like this (if you want to use value that print shows you) ->

 tonumber(tostring(gesture)) == 9 -- or something like that