Skip to content

View self touchBegin function

xu_whale edited this page Dec 4, 2019 · 6 revisions

title: View:touchBegin(function callback) comments: false

简介

触摸开始的回调

设置当触摸开始时的回调,并回调坐标值

  • @param callback function 回调格式:
function(number x,number y) 
	 ---x:x轴坐标 
	 ---y:y轴坐标 
end ```
- @version  1.2.1
Clone this wiki locally