I want to add a button when clicked doing Event

[b]
Hello
I want to help :confused:
I want to add a button when clicked doing Event
Example
When you click on an object that deletes another object

[size=150]Thank you[/size][/b]

Add an event → Add a condition → Sprite → Mouse is on an object → Type the name of your button sprite
Add a condition (to the same event) → Mouse → Mouse Button → Left

Add an action (to the same event) → All objects → Objects → Delete object → Type the name of the object you want deleted.

[size=200]Thank you very much[/size]
:smiley: