Download

How to destroy actor when clicked

I want to make a game which is a sidescroller endless runner in which you have to click objects before they leave the screen. I thought the most straightforward way would be to destroy the actor upon clicked, but that doesn’t work. Does anyone know how to do this?

https://preview.redd.it/or6zy3he93p51.png?width=963

You need this in your level BP:

f487cffe9c5423879a37c7124eaa3f019ae4ff73.jpeg

Click your character mesh and set collision to block all. Then put this in the character:

a9ce20870a463318140e78265b2dfbf318c9d5d9.jpeg