How should I detect if somebody has clicked my advertisement. Like is there any event to detect touching Ad ? So that I can add actions to it
It should state that in your add suppliers management system.
No as in If someone clicks an ad, then do an action like say... display a thank you message . like an event for detecting an adclick so that I can do an action
IIRC the touch event ignores the z-order and just triggers everything with collisions - if you place an invisible sprite under your ad it may trigger, though I've never tested it, and your ad will likely cause the game to swap out anyway.
Develop games in your browser. Powerful, performant & highly capable.
Thanks. Will Try that.