Box button in BP?

So, I’m trying to create a button out of a cube component in one of my blueprints. How do I program this so that when I click on the box it will trigger a function?

Hi,

My guess will be Event ActorOnclicked

For me it worked, I manage, with the Event Actoroncliked, to move the said box and to print string

I tried it like this and nothing happens:

Is there something I’m missing?

Thats the onclicked, you need Event ActorOnClicked. If you can’t access it, Can you try create a BluePrint Actor instead of the blueprint class you’re using now?

It still doesn’t work, nothing happens. Can you send me a picture of what your logic looks like?

Never mind. I got it working, thanks for your help :slight_smile: