GetTouchPhase

From MaratisWiki
(Difference between revisions)
Jump to: navigation, search
m
m
 
Line 2: Line 2:
  
 
{{lua-function-param|touchId|touch id}}
 
{{lua-function-param|touchId|touch id}}
 +
 +
Return a value between 0-4:
 +
 +
* 0 : Begin
 +
* 1 : Update
 +
* 2 : End
 +
* 3 : Cancelled
 +
* 4 : None
  
 
[[Category:Lua scripting]]
 
[[Category:Lua scripting]]
 
[[Category:Lua function]]
 
[[Category:Lua function]]
 
[[Category:Input]]
 
[[Category:Input]]

Latest revision as of 12:38, 9 February 2014

getTouchPhase(touchId)

  • touchId : touch id

Return a value between 0-4:

  • 0 : Begin
  • 1 : Update
  • 2 : End
  • 3 : Cancelled
  • 4 : None
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox