Expand the “components” section of the variables window on the left. You should be able to simply drag the capsule collider component into the event graph and connect it to the target pin.
Also, Unreal Engine is much larger and more complex than Unity. You’re not going to be able to learn how to use it with trial and error. You should go through all of this section of the Unreal Engine documentation if you’re coming from Unity, and maybe find a beginner course or YouTube series to get you started. This is also a good section of the docs to read through if you’re new to Blueprints: Blueprints Visual Scripting in Unreal Engine | Unreal Engine 5.5 Documentation | Epic Developer Community.