Cant figure out how to set a requirement on interact

I’m sure it’s just because I’m new to unreal, but I cannot for the life of me figure out what words to use here. I’m trying to program a phone to ring, and then give the player the ability to answer it once it starts ringing. I have the phone ring after 10s like I want, I have the interaction firing off, but I can’t figure out how to restrict that interaction until the prereq of the phone ringing is met.

tl:dr, how do I say if phoneRinging = true

Put a bool in the phone for instance “CanInteract”. Set it to start false. After the 10 seconds play the ringing audio file and set the CanInteract to true.

Once the character walks over to the phone

  • do overlap check to get the phone
  • access it’s CanInteract bool, if true maybe show a ui popup example “Press e to interact”
  • on input triggered check overlap with the phone and trigger the needed interaction logic (either inside the phone or on the character depending on the needed actions)