How to add a countdown timer in C++?

So basically I’m working on pickups and I don’t want the player collecting them right away… I’m looking to add a timer that counts down about 3 seconds before they can be collected. What is the basic function for a timer countdown in UE4?

you can do that, or count down in tick, if you want something like, player need to stand 2 seconds near the power up to collect it, then you got to do it in tick

thanks for that, and yeah, basically once the pickup spawns a timer would countdown like 3 seconds and when those seconds are over, the player would be able to pick it up (this is where i’ll flip some bools) thanks for the references

then you are better of with timers then with doing it in tick,
if your question was answered now, please mark this question as answered,
if you have further questions about how to do that with c++ go ahead and ask them