How to get invisible BP with "Get hit result under cursor by channel" function?

Hi! I have a parent BP_Transfer and I want to get that BP by “Get hit result under cursor by channel” function. The problem is that BP is almost empty and contains only box collision
image
so I can’t see that BP in game. I’m using that script in Player Controller to get needed actor


but I just can’t get that actor when actor doesn’t have something visible like static/skeletal mesh. How can I get that actor if I want it stay invisible but interactible?

Make the box block the visibility channel. It won’t make it visible, but it will be affected by Get Hit.

1 Like

I’ve tried this - it doesn’t work.

The problem is in collision. It works with following parameters:
image

Hey @Texn0krat!

Try changing the channel to something else, and using that instead of the visibility channel :slight_smile: if that doesn’t work, make sure that channel is set to block, AND that it’s set that way on the box itself but not the base actor itself (the root).

OMG, I didn’t understand @Tuerer correctly :smiling_face_with_tear:. I thought he talked about this:
image
so, yes, his solution is working. Thank you!

2 Likes