/ Published in: ActionScript
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
import starling.events.Touch; private function onTouch(e:TouchEvent):void { var touch:Touch = e.getTouch(stage); if (touch) trace(e.target, touch.target); }