OnComponentHit for overlapping collision?

Hey there. I am trying to make a power up that triggers when a player overlaps with the power ups collider (pretty basic stuff). Can I make this work with a “CollisionComp->OnComponentHit.AddDynamic(this, &APowerUp::OnHit);” kinda thing or is there a different function I need to use? Thank you in advance for any help!

I believe OnComponentBeginOverlap is what you are looking for.