I'm making a game that uses duck hunt style shooting, but I don't know how to detect if the mouse is clicked over the sprite, any help?
The condition "On object clicked".
or if that for some reason doesnt work:
have an event with 2 conditions.
On left button clicked>
Cursor is over "duck">
Develop games in your browser. Powerful, performant & highly capable.
Correct, remembering you need to add the Mouse object to your game.
Also add the condition "object > Pick Top/Bottom > Top" so if you click two objects on top of each other, the game will pick the one in the front
> The condition "On object clicked". > Correct, remembering you need to add the Mouse object to your game. Also add the condition "object > Pick Top/Bottom > Top" so if you click two objects on top of each other, the game will pick the one in the front
> The condition "On object clicked".
>
I learn something new everyday Thanks 7Soul