Help with collistion

so i am trying to make a mystery box in my game and I want it so that when the player is in front of it and a key is pressed it activates and select random power up.I have already make the random selection part, I just need help with the activation part.Plz help

You can use a trigger to automatically fire an action when you enter it, check this tutorial:

okie i’ll try that