GetTouchPhase
From MaratisWiki
(Difference between revisions)
Dahnielson (Talk | contribs) (Created page with "{{lua-function|getTouchPhase|touchId}} Category:Lua scripting Category:Lua function Category:Input") |
Dahnielson (Talk | contribs) m |
||
| (One intermediate revision by one user not shown) | |||
| Line 1: | Line 1: | ||
{{lua-function|getTouchPhase|touchId}} | {{lua-function|getTouchPhase|touchId}} | ||
| + | |||
| + | {{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