Just need prompt to hide when interacting

MAXO8448
Wed, 24 Jan 2024 05:23:07 +0000
Blueprint

Making a third person game, I have a simple pick up and drop system with a prompt that only shows when I overlap with the item but I can’t figure out how to make it disappear when I grab the item in the character’s hands, and reappear when I drop it.

The prompt widget is attached to the item Blueprint, not attached to the viewport stuff.

I’ve tried using the “is Holding?” boolean variable but without success. From what I have, I think the “IsHolding?” is not triggering to be true to hide the widget.

IsHolding? is my Boolean triggered when he picks up the item, I have confirmation that this Boolean is being called since the character is visually picking up the item, but what you are saying is that it should be true before he enters the overlapping box?

All I have working for now:

The character is walking normally

If he enters the overlapping box, a prompt appears and he can now push a button to hold the item in his hands and push it again drop it (The prompt always stays over the item)

When he drops it and exit the overlapping box the prompt disappear.

2 posts - 2 participants