TouchAdd

 

Add a touch area to the screen or a container.

 

Use TouchAdd(x,y,width,height,callback,id) to add a touch area to the screen.

Use TouchAdd(cn,x,y,width,height,callback,id) to add a touch area to a container.

 

Availability

 

Available in DragonFireSDK 2.0 and later, unless otherwise specified.