How do I make unseen part of objects not clickable in a specific area? Note: the object set is set to visible. The object passes behind another object before the viewer can see it.
Everything inside the green box represents the viewport size. Objects move using a scroll bar and travel on/off screen.
Develop games in your browser. Powerful, performant & highly capable.
Mouse on Object clicked
Mouse cursor is NOT over BlackBlock
Same with Touch:
Touch on Object touched
Touch is NOT touching BlackBlock
Or if the black area is always at the bottom of the screen, you can simply compare Mouse.Y or Touch.Y
I apologize for the delayed response. Thank you so much! Adding the compare Touch.Y resolved the issue. Yeah!!!