How to make clickable mesh with box component?

Hello , I wish i could make a clickable mesh. What i mean.
i have simple mesh in my level and i want to click with mouse on Box component (attached to that mesh ) and event to be triggered, but it is not working no matter what. I made all necessary settings, but i think i’m missing something for sure.

blueprint is of type Actor and it has mesh and box component and arrow for root

i’m attaching screenshot of blueprint i’m using + settings in player controller.

Please help me :slight_smile: ?

Hey THX2000,

It’s likely that your box component isn’t set up properly. Is box visible in level? Can you show us its settings? Box components can be difficult to click in game, and it might be better to set it to click mesh itself. What are you trying to achieve with box component?

Hey

I saw sample - Board Game and I was interested of using that idea to have box components and meshes attached to them.

i’m attaching screenshot of settings for pictures.

Cheers

Hey THX2000,

A second look at your Player Controller Blueprint showed me that you have Block Input enabled. Uncheck that and see if you have same problems.

All I’m know…box component must have a collision response set as Block All to click event works…and click events must be permitted pushing a node from the Player Controller Set Enable Click Events and Set Show Mouse

Hey Sand
can you tell me what do you mean by…and click events must be permitted pushing a node from Player Controller Set ?

I worked !!! Thanks :)))

Regards

Sand helped me but i thank you for your advice as well

Cheers

collision response has to be set like below to generate an input event.

  • Collision / Collision Presets / Collision Enabled : Query Only (No Physics Collision)
  • Collision / Collision Presets / Collision Responses / Trace Responses / Visibility / Block : Checked

They seem minimal requirements.