Press and hold a key to activate object marker temporarily

Hello,

So I am working on a game project and I am very new with this, I need to have a sort of sensing mechanic for collectables. What i want is to be able to press and hold a key to show objective/collectables markers on the screen. I have a marker widget attached to the collectable in the blueprint, but I cant figure out how to make the marker show up only when I press and hold Q button. Help would be really appreciated, thank you.

On Q pressing event get all actors that are collectables, get the marker and set it to visible.

Same for Q release event but set to Invisible